一个非常有用和动态的 React 时区选择器

上传者: 42117267 | 上传时间: 2022-10-15 23:14:41 | 文件大小: 321KB | 文件类型: ZIP
:globe_with_meridians: :watch: react-timezone-select 另一个React时区选择组件,我知道..但是这个有一些关键的好处! 在四处寻找一个好的选择时,我很难找到一个时区选择组件:1) 使用夏令时 (DST) 自动调整选项 2) 在技术上只有 24 ( ish) 是必要的 更新:v0.7+ 现在使用 spacetime 而不是 moment.js 构建,将包大小减少了约 66%! 更新:v0.10+ 现在使用 Typescript 构建! 演示:ndom91.github.io/react-timezone-select 这个演示也可以在 ./examples 目录中找到。 安装完所有内容后,只需运行 npm start 即可启动 webpack 开发服务器,您可以在 localhost:3001 找到演示。 我们还在 Codesandbox 上提供了一些使用此组件与日期时间库 spacetime 以及 moment 的示例,展示了如何在实际应用程序中使用此组件。 :building_construction: 安装 npm instal

文件下载

资源详情

[{"title":"( 28 个子文件 321KB ) 一个非常有用和动态的 React 时区选择器","children":[{"title":"react-timezone-select-main","children":[{"title":".gitignore <span style='color:#111;'> 74B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 567.71KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"types","children":[{"title":"spacetime-informal.d.ts <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"globals.d.ts <span style='color:#111;'> 49B </span>","children":null,"spread":false}],"spread":true},{"title":"__tests__","children":[{"title":"TimezoneSelect.test.tsx <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"__snapshots__","children":[{"title":"TimezoneSelect.test.tsx.snap <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"index.tsx <span style='color:#111;'> 7.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"jest.config.js <span style='color:#111;'> 809B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 560B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"tests.yml <span style='color:#111;'> 292B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 5.94KB </span>","children":null,"spread":false},{"title":"example","children":[{"title":"snowpack.config.js <span style='color:#111;'> 425B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 734.18KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"App.css <span style='color:#111;'> 556B </span>","children":null,"spread":false},{"title":"Timezone.tsx <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"index.css <span style='color:#111;'> 366B </span>","children":null,"spread":false},{"title":"index.tsx <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":"App.tsx <span style='color:#111;'> 230B </span>","children":null,"spread":false}],"spread":false},{"title":"public","children":[{"title":"index.html <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false}],"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 457B </span>","children":null,"spread":false},{"title":"types","children":[{"title":"static.d.ts <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":false},{"title":".npmignore <span style='color:#111;'> 12B </span>","children":null,"spread":false},{"title":".prettierrc <span style='color:#111;'> 52B </span>","children":null,"spread":false}],"spread":true},{"title":".npmignore <span style='color:#111;'> 56B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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