:straight_ruler: 一个可调整大小的 React 组件。-源码

上传者: 42107491 | 上传时间: 2021-06-09 13:03:56 | 文件大小: 2.47MB | 文件类型: ZIP
:straight_ruler: 一个可调整大小的 React 组件。 目录截图 Live Demo Storybook CodeSandbox Install Usage Props Instance API updateSize(size: { width: number | string, height: number | string }): void 测试相关截图 Live Demo Storybook Storybook CodeSandbox CodeSandbox CodeSandbox(TypeScript) CodeSandbox(With hooks ) 使用 defaultSize 安装 $ npm install --save re-resizable 使用示例 默认大小的样本 尺寸示例 如果您使用尺寸道具,请自行管理状态。 { this.setState({ width: this.state.width + d.width, height: this.state.height + d.height, }); }} > 样本大小 Props defaultS

文件下载

资源详情

[{"title":"( 58 个子文件 2.47MB ) :straight_ruler: 一个可调整大小的 React 组件。-源码","children":[{"title":"re-resizable-master","children":[{"title":".circleci","children":[{"title":"config.yml <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false}],"spread":true},{"title":".storybook","children":[{"title":"preview-head.html <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"config.js <span style='color:#111;'> 228B </span>","children":null,"spread":false},{"title":"webpack.config.js <span style='color:#111;'> 277B </span>","children":null,"spread":false},{"title":"addons.js <span style='color:#111;'> 95B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 58B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 772B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 14.09KB </span>","children":null,"spread":false},{"title":"stories","children":[{"title":"vwvh.stories.tsx <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"max.stories.tsx <span style='color:#111;'> 774B </span>","children":null,"spread":false},{"title":"handle.stories.tsx <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"size.stories.tsx <span style='color:#111;'> 685B </span>","children":null,"spread":false},{"title":"bounds.stories.tsx <span style='color:#111;'> 559B </span>","children":null,"spread":false},{"title":"aspect.stories.tsx <span style='color:#111;'> 344B </span>","children":null,"spread":false},{"title":"nested.stories.tsx <span style='color:#111;'> 597B </span>","children":null,"spread":false},{"title":"min.stories.tsx <span style='color:#111;'> 774B </span>","children":null,"spread":false},{"title":"multiple.stories.tsx <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"scaled.stories.tsx <span style='color:#111;'> 452B </span>","children":null,"spread":false},{"title":"wrapper.stories.tsx <span style='color:#111;'> 384B </span>","children":null,"spread":false},{"title":"ratio.stories.tsx <span style='color:#111;'> 342B </span>","children":null,"spread":false},{"title":"auto.stories.tsx <span style='color:#111;'> 584B </span>","children":null,"spread":false},{"title":"style.ts <span style='color:#111;'> 150B </span>","children":null,"spread":false},{"title":"flex.stories.tsx <span style='color:#111;'> 835B </span>","children":null,"spread":false},{"title":"snap.stories.tsx <span style='color:#111;'> 556B </span>","children":null,"spread":false},{"title":"styles.css <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"extra.stories.tsx <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"basic.stories.tsx <span style='color:#111;'> 323B </span>","children":null,"spread":false}],"spread":false},{"title":"tsconfig.test.json <span style='color:#111;'> 748B </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 27.86KB </span>","children":null,"spread":false},{"title":".github","children":[{"title":"ISSUE_TEMPLATE.md <span style='color:#111;'> 771B </span>","children":null,"spread":false},{"title":"PULL_REQUEST_TEMPLATE.md <span style='color:#111;'> 682B </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"fixture.html <span style='color:#111;'> 302B </span>","children":null,"spread":false}],"spread":true},{"title":"logo.png <span style='color:#111;'> 11.07KB </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"bg.png <span style='color:#111;'> 1.83MB </span>","children":null,"spread":false},{"title":"screenshot.gif <span style='color:#111;'> 221.47KB </span>","children":null,"spread":false},{"title":"dist","children":[{"title":"bundle.js <span style='color:#111;'> 814.07KB </span>","children":null,"spread":false},{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"src","children":[{"title":"example.js <span style='color:#111;'> 584B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 162B </span>","children":null,"spread":false}],"spread":false},{"title":"index.html <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 3.43KB </span>","children":null,"spread":false},{"title":"tslint.json <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"index.test.tsx <span style='color:#111;'> 41.40KB </span>","children":null,"spread":false},{"title":"index.tsx <span style='color:#111;'> 29.48KB </span>","children":null,"spread":false},{"title":"resizer.tsx <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false}],"spread":false},{"title":"renovate.json <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"scripts","children":[{"title":"prod.common.js <span style='color:#111;'> 517B </span>","children":null,"spread":false},{"title":"deploy-patch.sh <span style='color:#111;'> 231B </span>","children":null,"spread":false},{"title":"dev.js <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"deploy-minor.sh <span style='color:#111;'> 231B </span>","children":null,"spread":false},{"title":"prod.js <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"prod.es5.js <span style='color:#111;'> 150B </span>","children":null,"spread":false}],"spread":false},{"title":".travis.yml <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":"babel.config.js <span style='color:#111;'> 186B </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 566.30KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":".prettierrc.js <span style='color:#111;'> 185B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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