1.0.13 • Published 5 years ago
reactypo v1.0.13
Reactypo
Reactypo is a react library that makes it easy to animate text.
Status
Installation
npm install --save reactypoExample
Example can be seen here
Basic Usage
import React from 'react'
import { Text, Typo } from 'reactypo'
const App = () => {
return (
<Typo>
<Text>Hello </Text>
<Text>World!</Text>
</Typo>
)
}
export default AppText component
Renders every char child at a defined pace.
The Text component can be used alone without a Typo component, but the Typo component makes sure every Text is printed one after another.
Props
Event handlers
Typo Component
Props
Those props will be used by every Text child that don't define them.
Event handlers
Static methods
The typo class can manipulate every typo with a name
License
MIT © vivienld