React TinyLetter Component
Setup
$ npm install --save react-tinyletter
or...
$ yarn add react-tinyletter
Usage
import Subscribe from 'react-tinyletter'
...
<Subscribe list="TinyLetterUsername">
<input type="email"/>
<input type="submit" value="Subscribe"/>
</Subscribe>
Style it with <💅>
import Subscribe from 'react-tinyletter'
import styled from 'styled-components'
...
const StyledSubscribe = styled(Subscribe)`
border: 1px solid deepskyblue;
padding: 25px;
width: 100%;
`
...
<StyledSubscribe list="TinyLetterUsername">
<input type="email"/>
<input type="submit" value="Subscribe"/>
</StyledSubscribe>
Documentation Reference
Contribution Guidelines
- All commit messages must follow the semantic commit message guidelines
- All releases must follow the SemVer guidelines
Authors
License
The React Component Boilerplate is under the MIT License.