1.0.2 • Published 9 years ago

react-fitter-happier-text v1.0.2

Weekly downloads
4
License
MIT
Repository
-
Last release
9 years ago

react-fitter-happier-text

React component for fully fluid headings

Demo

http://jxnblk.com/react-fitter-happier-text

Usage

npm i react-fitter-happier-text
var React = require('react')
var FitterHappierText = require('react-fitter-happier-text')

React.render(<FitterHappierText text='Hello World' />, document.querySelector('#hello-world'))

Note: this component relies on element.offsetWidth and only works in client-side contexts.

Related

http://jxnblk.com/fitter-happier-text

MIT License