0.2.0 • Published 6 years ago
jatrix-react v0.2.0
Enter the Jatrix
(pronounced Jay-tricks, like matrix)
Jatrix does this matrix like text thing, it's really cool!
Long story short, jatrix-react is a react component, as such it needs props.
Prop | Type | Description | Default |
---|---|---|---|
text | String | The words that you want to render | None |
fps | Number | Frames per second, A.K.A how fast you want your letters to go | 40 |
caps | Boolean | If it should be rendered in caps or not | false |
done | Function | A callback that executes when it completes | ()=>{} |
The name attribute allows you to write it as a self closing tag, like this:
<Jatrix
text="Ian Fabs"
/>
versus writing it like this:
<Jatrix>
Ian Fabs
</Jatrix>
But both of them do indeed work.