sum-react icon indicating copy to clipboard operation
sum-react copied to clipboard

基于 React 17.x + antd 4.x 的业务组件库搭建

Results 4 sum-react issues
Sort by recently updated
recently updated
newest added

我下载下代码 原封不动 就改了个registry。上传到公司内网的gitlab 然后在项目中引用 提示了错误Cannot read properties of undefined (reading 'ConfigContext') 始终找不到问题在哪里。doc。build。都是正常的 就是在使用的时候 会提示这个错误

能不能像antd一样,不把代码都打包在一起,现在都是打包在index.xx.js里面了。 下面是antd: ![image](https://user-images.githubusercontent.com/15045200/126611930-8c8f12d1-c2c1-4dd1-bbe7-9ce12963617d.png)

你好,在TS项目中使用打包的库,因children未在props中定义而报错。 尝试修改组件类型定义如:const BaseModal: React.FC = (props: Props)=>{}, 修改后引入组件使用时,props的字段的提示就不是太直观了,请问有没有更好的解决办法。