Package Exports
- rimp
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rimp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
rimp
Small library for handling mailchimp subscriptions on the client side in react. This is
not a documented solution within mailchimp however it does still work
Setup
You will need to grab the naked post url from the mailchimp embed form code
Usage
Grid with four items:
import Rimp from 'rimp'
<Rimp
buttonValue={`submit`}
buttonStyles={`btn`}
containerStyles={`newsletter__form`}
mailChimpUrl="//url.us10.list-manage.com/subscribe/post?u=user&id=list"
/>Configurable options:
buttonValue: 'submit',
buttonStyles: 'button',
placeholder: 'enter your email address',
formWrapper: 'flex flex-justify-between flex-align-center',
containerStyles: 'newsletter__form',
helpText: 'Please provide a valid email address',
showError: true,
emailAddress: '',
mailChimpUrl: nullMIT License