Skip to content

ianfabs/jatrix-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enter the Jatrix

(pronounced Jay-tricks, like matrix)

Jatrix does this matrix like text thing, it's really cool!

Edit Jatrix

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.