2.0.2 • Published 10 months ago
react-text-scaler v2.0.2
react-text-scaler
This is React component, for text scaling support mini and big text size readability.
Installation
npm install react-text-scaler
Usage
import { TextScaler } from "react-text-scaler";
const MyComponent = () => {
return <TextScaler scaleRange={20} stickSize={10} />;
};
Instructions
Renders the Based on font size of body the main element's texts.
Font size is Absolute values are supported.
Properties
Property | Property Meaning |
---|---|
scaleRange (required) | The scale range for px size |
stickSize (required) | The stick width for number |
className | Set the className of the TextScaler cmponent |
License
The MIT License.
2.0.2
10 months ago
2.0.1
2 years ago
2.0.0
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.0.12
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago