Table
introduction
The elements listed here are used to create and manage tabular data.
We are Wrapping around antd
tables
Default
id | Name |
---|---|
1 | John |
2 | Doe |
<Table
rowKey="id"
columns={[
{ title: "id", dataIndex: "id" },
{ title: "Name", dataIndex: "name" },
]}
dataSource={[
{ id: 1, name: "John" },
{ id: 2, name: "Doe" },
]}
/>
Automated tests
Unit
Command : npm run test:unit
Test file location : /tests/input.table.test.tsx
npm run test:unit:file table
Integration
Command : ???
Test file location : ???
???