0.4.11 • Published 4 years ago
react-dyslexia v0.4.11
Installation
npm i react-dyslexia
Demo
Example
import React from "react";
import Dyslexia from "react-dyslexia";
function App() {
return (
<Dyslexia
delay={700}
text="There is no such thing as an accident. What we call by that name is the effect of some cause which we do not see."
/>
);
}
export default App;
name | types | default | Detail |
---|---|---|---|
text | String | 'Dyslexia' | Text for effect |
delay | Number | 500 | Delay of dyslexia effect |
minWordLength | Number | 4 | Minimal word length |
scrambleChance | Number | 80 | Percentage chance of a word being scrambled |
TODO LIST
- More customizations.
- Add support for Typescript.
If you want, you can contribute to https://github.com/digitalapplebee/react-dyslexia
0.4.9
4 years ago
0.4.10
4 years ago
0.4.11
4 years ago
0.4.8
4 years ago
0.4.7
4 years ago
0.4.6
4 years ago
0.4.5
4 years ago
0.4.4
4 years ago
0.4.3
4 years ago
0.4.2
4 years ago
0.4.1
4 years ago
0.4.0
4 years ago
0.3.12
5 years ago
0.3.11
5 years ago
0.3.5
5 years ago
0.3.4
5 years ago
0.3.3
5 years ago
0.3.2
5 years ago
0.3.1
5 years ago
0.3.0
5 years ago
0.2.1
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago