1.0.0 • Published 6 years ago
react-textfitter v1.0.0
react-textfitter
Work only with single line
Installation
npm install react-textfitter --save
Usage
import { Textfit } from 'react-textfitter';
class App extends Component {
render() {
return (
<Textfit
maxFontSize={60},
width={100},
>
any text
</Textfit>
);
}
}
License
MIT
1.0.0
6 years ago