reactypo
v1.0.13
Published
Reactypo is a react library that makes it easy to control and animate text.
Downloads
3
Maintainers
Readme
Reactypo
Reactypo is a react library that makes it easy to animate text.
Status
Installation
npm install --save reactypo
Example
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 App
Text 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