Skip to content

Commit 7cdfce4

Browse files
authored
fix(readme): fixed readme for DataTableManager (#2246)
1 parent 9a09eee commit 7cdfce4

File tree

1 file changed

+2
-2
lines changed
  • packages/components/data-table-manager

1 file changed

+2
-2
lines changed

packages/components/data-table-manager/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ export default Example;
6363

6464
## Properties
6565

66-
| Props | Type | Required | Default | Description |
67-
| ---------------------------------------------- | ----------------------------------------------------------- | :------: | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |
66+
| Props | Type | Required | Default | Description |
67+
| ------------------------- | -------------------------------------------------------------- | :------: | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
6868
| `columns` | `array` || | Each object requires a unique `key` which should correspond to property key of
the items of `rows` that you want to render under this column, and a `label`
which defines the name shown on the header.
The list of columns to be rendered.
Each column can be customized (see properties below). |
6969
| `columns[].key` | `string` || | The unique key of the column that is used to identify your data type.&#xA;You can use this value to determine which value from a row item should be rendered.&#xA;<br>&#xA;For example, if the data is a list of users, where each user has a `firstName` property,&#xA;the column key should be `firstName`, which renders the correct value by default.&#xA;The key can also be some custom or computed value, in which case you need to provide&#xA;an explicit mapping of the value by implementing either the `itemRendered` function or&#xA;the column-specific `renderItem` function. |
7070
| `columns[].label` | `node` || | The label of the column that will be shown on the column header. |

0 commit comments

Comments
 (0)