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