2.0.1 • Published 7 months ago

react-text-scaler v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

react-text-scaler

Release Status Minzip Size License: MIT

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

PropertyProperty Meaning
scaleRange (required)The scale range for px size
stickSize (required)The stick width for number
classNameSet the className of the TextScaler cmponent

License

The MIT License.

2.0.1

7 months ago

2.0.0

7 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago