pro-components
pro-components copied to clipboard
👑 [需求] @ant-design/pro-components 集中导出 xxxxxProps type
🔩 所属模块或组件
import type { ProFormFieldItemProps, FieldProps } from '@ant-design/pro-form/es/interface';
import type { EditableProTableProps } from '@ant-design/pro-table/es/components/EditableTable';
🥰 需求描述
能否将 @ant-design/pro-form 、 @ant-design/pro-table/es ... 等模块的 ts 类型在 @ant-design/pro-components 中集中导出
⛰ 功能需求适用场景
不用为了引用各种 xxxxxxxProps 类型安装 @ant-design/pro-table、@ant-design/pro-form ... 等其他依赖
🧐 解决方案
import type { ProFormFieldItemProps, FieldProps, EditableProTableProps } from '@ant-design/pro-components';
顶上去,同求,目前看到已导出的一部分还经过重命名的,与原有的命名不一致
Hello @SturdyCat. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!
你好 @SturdyCat,我们完全同意你的提议/反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题。请务必提供改动所需相应的 changelog、TypeScript 定义、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。

大部分已经导出了,可以试试看