File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
__tests__/snapshot-tests/__snapshots__ Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -17368,13 +17368,10 @@ scroll parent scrolls to reveal the first row of the table.",
17368
17368
{
17369
17369
"description": "Specifies alternative text for the selection components (checkboxes and radio buttons) as follows:
17370
17370
* \`itemSelectionLabel\` ((SelectionState, Item) => string) - Specifies the alternative text for an item.
17371
+ You can use the first argument of type \`SelectionState\` to access the current selection state of the component
17372
+ (for example, the \`selectedItems\` list). The second argument is the corresponding \`Item\` object.
17371
17373
* \`allItemsSelectionLabel\` ((SelectionState) => string) - Specifies the alternative text for multi-selection column header.
17372
17374
* \`selectionGroupLabel\` (string) - Specifies the alternative text for the whole selection and single-selection column header.
17373
- It is prefixed to \`itemSelectionLabel\` and \`allItemsSelectionLabel\` when they are set.
17374
- You can use the first argument of type \`SelectionState\` to access the current selection
17375
- state of the component (for example, the \`selectedItems\` list). The \`itemSelectionLabel\` for individual
17376
- items also receives the corresponding \`Item\` object. You can use the \`selectionGroupLabel\` to
17377
- add a meaningful description to the whole selection.
17378
17375
* \`tableLabel\` (string) - Provides an alternative text for the table. If you use a header for this table, you may reuse the string
17379
17376
to provide a caption-like description. For example, tableLabel=Instances will be announced as 'Instances table'.
17380
17377
* \`resizerRoleDescription\` (string) - Provides role description for table column resizer buttons.
Original file line number Diff line number Diff line change @@ -183,13 +183,10 @@ export interface TableProps<T = any> extends BaseComponentProps {
183
183
/**
184
184
* Specifies alternative text for the selection components (checkboxes and radio buttons) as follows:
185
185
* * `itemSelectionLabel` ((SelectionState, Item) => string) - Specifies the alternative text for an item.
186
+ * You can use the first argument of type `SelectionState` to access the current selection state of the component
187
+ * (for example, the `selectedItems` list). The second argument is the corresponding `Item` object.
186
188
* * `allItemsSelectionLabel` ((SelectionState) => string) - Specifies the alternative text for multi-selection column header.
187
189
* * `selectionGroupLabel` (string) - Specifies the alternative text for the whole selection and single-selection column header.
188
- * It is prefixed to `itemSelectionLabel` and `allItemsSelectionLabel` when they are set.
189
- * You can use the first argument of type `SelectionState` to access the current selection
190
- * state of the component (for example, the `selectedItems` list). The `itemSelectionLabel` for individual
191
- * items also receives the corresponding `Item` object. You can use the `selectionGroupLabel` to
192
- * add a meaningful description to the whole selection.
193
190
* * `tableLabel` (string) - Provides an alternative text for the table. If you use a header for this table, you may reuse the string
194
191
* to provide a caption-like description. For example, tableLabel=Instances will be announced as 'Instances table'.
195
192
* * `resizerRoleDescription` (string) - Provides role description for table column resizer buttons.
You can’t perform that action at this time.
0 commit comments