React Plugin to fit text on the screen
This component is a port of the famous fit text plugin for jQuery to use with React.
This component is 100% jQuery Free.
Homepage: http://softwarepsychonaut.com/react-fittext
Simply wrap your text component inside
// In your React componentvar ReactFitText = require('react-fittext'); ...
Testing React Fittext
and you're good to go!
If you want to see a live demo of this component, you can check the homepage.
There are few options you can send to the component to modify it default behaviour:
If you found any issue with this component, please report it.
If you want to improve the code, feel free to create a PR!