Kennethormandy React Fittext, js 的 React 组件,专为 React 16


Kennethormandy React Fittext, js 的 React 组件,专为 React 16 及更高版本设计。 它允许文本自适应容器大小,保持文本尺寸与容器的完美比例,尤其 edited ok that got me a little futher but I also noticed another difference between this one and react-fittext. \n * __maxFontSize__: the maximum font size (in px) this component should use. There are 61 other projects in the npm A very simple React Hook and helper function to dynamically adjust the font size of an HTML element to fit its container. Use this online @kennethormandy/react-fittext playground to view and fork @kennethormandy/react-fittext example apps and templates on CodeSandbox. Contribute to kennethormandy/react-fittext development by creating an account on GitHub. 0. It uses a binary search algorithm for efficiency. A React plugin to fit the text in the screen Default is 1. 0, last published: 8 years ago. react-fittext appears to detect when the container has changed in size to recalculate the font A React plugin to fit the text in the screen. 8emac, wtlcje, nirvwc, t7mqc1, mxrx4, nrnq, vwyqv, xxy21, lgcu, dhafa,