newsletter
v1.0.13arrow_drop_downv1.0.13
v1.0.12
v1.0.11
v1.0.10
v1.0.9
v1.0.8
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.1
v1.0.0
STATUS
Failing
DOWNLOADS
285
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
101 KB
Newsletter component
1 contributor
Like
Install newsletter as a package?
Copied
npm i @bit/dennisdigital.components.organisms.newsletter
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
modifieddraft
chevron_left
chevron_right
Newsletter ()
Newsletter component
Properties
Name | Type | Default value |
---|---|---|
title | string | '' |
cta_label | string | 'Submit' |
placeholder | string | '' |
onSubmit | function | () => {
} |
extraClassNames | objectOf | {} |
context | {"css_prefix":"string"} | {} |
modalOpen | bool | false |
toggleModal | function | () => {} |
Test Summary
should render with default props if nothing has been set | Skipped |
check title props | Skipped |
check cta_label props | Skipped |
should call onChange prop | Skipped |
should call onSubmit prop | Skipped |
check extraClassNames props | Skipped |