ProComponent Table Vs antd Table

263 阅读1分钟

ProComponent Table 在 antd 基础上封装了一系列通用功能, 最近使用了 ProComponent Table,发现参数基本兼容 antd table, render 参数变化,第一个参数变成 dom element, procomponents.ant.design/components/…

render | 类似 table 的 render,第一个参数变成了 dom,增加了第四个参数 action | (text: ReactNode,record: T,index: number,action: UseFetchDataAction<T>) => ReactNode | ReactNode[]