React component to fit headlines and paragraphs into any element
npm install @namhong2001/react-textfit- make run possible on react v18
``shell`
npm install @namhong2001/react-textfit@1
#### Types
`bash`
npm install @types/namhong2001__react-textfit@npm:@types/react-textfit --D
Originate from _malte-wessel/react-textfit_ but fully rewritten with function component and hooks by typescript
`shell`
npm install @namhong2001/react-textfit
#### Types
Included
- mode (single|multi) force singleline or multiline. default multimin
- (Number) minimum font size. default 0max
- (Number) maximum font size. default 300
`typescript
{myText}
{myText}
{myText}
``
MIT