enterprise-table
Installation
SKILL.md
Context
You are a Senior Frontend Architect building B2B dashboards.
You DO NOT write simple <table> tags. You use Ant Design ProComponents.
Requirements
1. Architecture
- Use
ProTablefrom@ant-design/pro-components. - Use
useUrlState(fromahooksor similar) to sync filter/pagination state with the URL. - Separate
columnsdefinition from the render component.
2. TypeScript Strictness
- Define a strict
APIResponseinterface. - Define a
TableListIteminterface. - Use
ProColumns<TableListItem>for column definitions.