0.2.0 • Published 2 years ago
react-glitch-text v0.2.0
React Glitch Text
Installation and usage
Install from npm:
npm i --save react-glitch-textThen use it in your app:
import Glitch from 'react-glitch-text'
function App(){
return (
<Glitch color='whitesmoke' fontSize='42px'>
Your super crazy c00l T3XT goes here!
</Glitch>
)
}Props
Common props you may want to include:
| Prop | Requirement | Default Value | Description |
|---|---|---|---|
| children | Required | 'React Glitch Text | Should contain the text |
| color | Optional | 'whitesmoke' | Text color |
| fontSize | Optional | '42px' | Text font size |