Skip to content

Commit

Permalink
fix(readme): fixed readme for DataTableManager (#2246)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaltsev-ct authored Aug 1, 2022
1 parent 9a09eee commit 7cdfce4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/data-table-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ export default Example;

## Properties

| Props | Type | Required | Default | Description |
| ---------------------------------------------- | ----------------------------------------------------------- | :------: | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |
| Props | Type | Required | Default | Description |
| ------------------------- | -------------------------------------------------------------- | :------: | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `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). |
| `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. |
| `columns[].label` | `node` || | The label of the column that will be shown on the column header. |
Expand Down

1 comment on commit 7cdfce4

@vercel
Copy link

@vercel vercel bot commented on 7cdfce4 Aug 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.