Skip to content

Commit

Permalink
📝 docs: update table doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lerte committed Nov 4, 2024
1 parent 6063609 commit 60bbe93
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions apps/docs/content/components/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,3 @@ description: Table is a component that allows you to display tabular data.
## Usage

<usage></usage>

## Sub Components

| Name | Description |
| ----------- | ----------- |
| Table.Thead | thead tag |
| Table.Tbody | tbody tag |
| Table.Tfoot | tfoot tag |
| Table.Th | th tag |
| Table.Tr | tr tag |
| Table.Td | td tag |

## Props

| Props | Type | Description | Default |
| --------- | --------- | ------------ | ----------- |
| `headers` | `array` | table header | `undefined` |
| `items` | `array` | table body | `undefined` |
| `actions` | `boolean` | actions | `undefined` |
| `pageSizes` | `array` | supported number of rows per page | `undefined` |
| `initialPaginationState` | `object` | initial pagination state | `undefined` |

## Events

| Events | Description |
| -------------- | ----------------------------------- |
| `onItemEdit` | fired when item edit icon clicked |
| `onItemDelete` | fired when item delete icon clicked |

0 comments on commit 60bbe93

Please sign in to comment.