@economist/component-newsletter-subscription

1.1.1 • Public • Published

By:EconomistBuild StatusBuild StatusCoverage Status

NewsletterSubscription

Newsletter subscription form

Usage

This component expects an ES6 environment, and so if you are using this in an app, you should drop in a polyfill library - it has been tested with babel-polyfill but core-js or es6-shim may also work.

The default export is a React Component, so you can simply import the component and use it within some JSX, like so:

import NewsletterSubscription from 'component-newsletter-subscription';

return <NewsletterSubscription/>;

For more examples on usage, see src/example.es6.

Install

npm i -S component-newsletter-subscription

Run tests

npm test

/@economist/component-newsletter-subscription/

    Package Sidebar

    Install

    npm i @economist/component-newsletter-subscription

    Weekly Downloads

    23

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • wellingtonvieira
    • economist-org-bot
    • shrikant-npm-economist
    • ishankguptaeco
    • aniketguptaeco
    • himanshupaleco
    • greg-cann
    • tayoja
    • yannstepienik
    • madhav1-teg
    • preeti-teg
    • ashutosh-teg
    • greggschofield
    • juraj271
    • alanrennie
    • raruprai
    • jonleeeconomist2
    • olumideosikomaiya
    • danielperezcascon
    • walteco
    • shubhameconomist
    • ajeet-singh024
    • benpeh
    • akshatrastogi01
    • shivpathak-teg
    • pvalentim
    • ninjanailseconomist
    • saurabhsatwani-teg
    • cristianpetre-teg
    • jakezachariahnixon
    • devrath-teg
    • econ.martinchan
    • jimc-teg
    • teenuburi
    • leahpatel
    • zeek01
    • paarthpuri
    • emilyblundellteg
    • aayushkumarecon
    • faiz-teg
    • benhalsteadteg
    • rorywebber
    • sahu-economist
    • romany-gl
    • johnfriend
    • josephc_100
    • robthomas72
    • rully-teg
    • irshadfareed
    • emiliawil
    • faisal1505
    • charlottecutler
    • petervoeconomist
    • ghazali-teg
    • yordan-teg
    • ykswra-teg
    • trankimtung-economist
    • rickmather
    • mikeecon
    • ovysotskaya
    • siva-teg
    • gibbsy
    • karltaylor
    • virajvinodkumar
    • lenface
    • connorpayne
    • banguneco
    • vinnay0308
    • adjizulfiqarfauzi
    • afiefyr
    • tegalankf
    • endiirawaneco
    • elenafayethomas
    • rendyfebry.eco
    • irfan2204
    • stevenleeeconomist
    • chituruchinwah
    • chloemcmullan
    • ransomprofit
    • richard-frost
    • tgrisley
    • neilateconomist
    • solo-digital
    • yevdomin
    • fteoldi
    • nanjunda-teg
    • alexeco
    • rospearce
    • sangeeta-economist
    • mfiresky
    • larry4000
    • celltowertrees
    • chriscamplin
    • wizbit77
    • danielmensah
    • raghu-teg
    • dwi-teg
    • rsmutch
    • ctheodoridou
    • cristiangutueconomist
    • edemeconomist
    • nam-econ
    • barneyward
    • uwajacques
    • lgordienko
    • liambird
    • kellybrocklehurst
    • luketaylor
    • yousea2_economist
    • krishnapriyaelango
    • azzuhasan
    • simonwtaylor
    • jayyecm
    • kartik.saxena
    • nautiyalmanish
    • matthewarrowsmith
    • rmisyuk
    • kamil_p
    • jonleeeconomist
    • angelamaugey
    • farnaz.ostovari
    • grmnd
    • ov212
    • xaviergimenez
    • simmyd91
    • umairyounus
    • layo_titi
    • johnperagine
    • stevedrog
    • jimhuntyeconomist
    • cjallen88
    • ashrafiftekhar
    • v.potonya
    • evgenylyndin
    • tonygoodey
    • futuraprime
    • diana.carmen
    • economistrobot
    • withoutnations
    • davidwong.economist.com
    • a-w-l
    • mikeconway
    • jamespenrice
    • matt-hall-kcc
    • johnvannguyen
    • ferdousiqbal
    • alexselbyboothroyd
    • elliottmorris
    • stephanienedoklanova
    • gdunton
    • drinkataco
    • fceco
    • tothvoj
    • ecomorant
    • danaciocan
    • mattcouchman
    • kristynolan
    • johti
    • economist-web-team
    • mattpointblank
    • sukh-kinandcarta
    • otomogroove
    • samualdjpayne
    • impactyogi
    • lewtur
    • shahdotrahul
    • pedrito77
    • stancek_globallogic
    • kevin-economist
    • matildealiffi
    • pads
    • raynelle03
    • robmorgan-tab
    • forpet
    • jonh-econ
    • davidgoodchild
    • just_ak87
    • fadumoaideed
    • jaroslavhamrak
    • mloveday
    • irfanyasin_teg
    • igorshcherba
    • manunes
    • joeawillis
    • johnjameshodgins
    • ethancevans
    • jonny_kc