react-dynamic-font:这是一个React组件,它使您的文本不会自动换行并动态调整字体大小-源码

上传者: 42117150 | 上传时间: 2021-09-24 13:44:59 | 文件大小: 84KB | 文件类型: ZIP
React动态字体 这是一个React组件,使您的文本不会自动换行并动态调整字体大小 有时我们希望某些文本具有固定的宽度,当字符数太大时,它将自动减小字体大小,因此文本始终在一行中而不换行。 这就是我创建此组件的原因。 安装 npm install react-dynamic-font --save 要么 yarn add react-dynamic-font 该软件包需要react v16.3或更高版本,如果要在较低的react版本(v15.x-v16.2.x)上使用,请尝试用yarn add react-dynamic-font@^1.0.0 ,用于React v0.14在下面,尝试yar

文件下载

资源详情

[{"title":"( 28 个子文件 84KB ) react-dynamic-font:这是一个React组件,它使您的文本不会自动换行并动态调整字体大小-源码","children":[{"title":"react-dynamic-font-master","children":[{"title":".prettierignore <span style='color:#111;'> 102B </span>","children":null,"spread":false},{"title":".prettierrc.yml <span style='color:#111;'> 65B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 247B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 319B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"rollup.config.js <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"public","children":[{"title":"index.html <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"app.css <span style='color:#111;'> 952B </span>","children":null,"spread":false},{"title":"app.js <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 234B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":".eslintrc.yml <span style='color:#111;'> 773B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"__tests__","children":[{"title":"index.test.tsx <span style='color:#111;'> 251B </span>","children":null,"spread":false},{"title":"__mocks__","children":[{"title":"style-mock.ts <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"file-mock.ts <span style='color:#111;'> 28B </span>","children":null,"spread":false}],"spread":false},{"title":"setup.ts <span style='color:#111;'> 128B </span>","children":null,"spread":false}],"spread":true},{"title":"utils.ts <span style='color:#111;'> 476B </span>","children":null,"spread":false},{"title":"react-dynamic-font.tsx <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 149B </span>","children":null,"spread":false}],"spread":true},{"title":".babelrc <span style='color:#111;'> 72B </span>","children":null,"spread":false},{"title":"jest.config.js <span style='color:#111;'> 556B </span>","children":null,"spread":false},{"title":".eslintignore <span style='color:#111;'> 102B </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 949B </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 147B </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 249.25KB </span>","children":null,"spread":false},{"title":".npmrc <span style='color:#111;'> 23B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明