{"repo":"UCloud-FE/react-components","free":true,"listed":false,"github":"https://github.com/UCloud-FE/react-components","clone":"git clone https://github.com/UCloud-FE/react-components.git","description":"A React UI Library from UCloud.","language":"JavaScript","stars":52,"topics":["react","component","components","react-components"],"license":"MIT","category":"ui-components","readme_excerpt":"React Components 前排注意事项 - 一些没有写在文档中的 props 以及方法等强烈不建议使用，因为这类 API 可能会随时变动。版本更新后可能会发生不可预知的问题。 浏览器兼容 IE / Edge Firefox Chrome Safari --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- IE11, Edge 18 29 30 7 如何使用 - 组件依赖于 react（^16）、react-dom（^16），请注意引入对应依赖，从 0.7.0 开始，不再兼容 react 15。 - 使用 npm 或 yarn 进行安装 - 需要注意对应修改 webpack 的 loader 配置，根据项目具体配置 - 实现模块化加载 - 通过 babel-plugin-import 实现模块化加载 添加 import 插件 在 babel 的 plugins 中添加配置 - 或者直接手动引用对应文件来实现模块化加载 如何在 Create-React-App 中使用 添加到依赖 1. 通过 Create-React-App 创建好项目 2. 按照上述文档将 react-components 添加到依赖，然后按照需要去引用 模块化支持 1. 修改项目的自定义配置，不支持的需要先执行 npm run eject 。 2. 按照上述文档在 babel 的 plugin 中添加配置 zIndex 说明 - Modal、Drawer 默认的 zIndex 为 1010 - Popover 默认的 zIndex 为 1030 - Tooltip、Select、DatePicke","default_branch":null,"files":null,"tree":[],"storefront":"/r/UCloud-FE","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/UCloud-FE/react-components/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}