{key: string; value: string; display?: (item) => string; sort?: (a, b) => number}[]
| `[]` | Specify the data table headers. |
-| rows | Object[]
| `[]` | Specify the rows the data table should render. keys defined in `headers` are used for the row ids. |
-| size | "compact" | "short" | "tall"
| -- | Set the size of the data table. |
-| title | string
| `""` | Specify the title of the data table. |
-| description | string
| `""` | Specify the description of the data table. |
-| zebra | boolean
| `false` | Set to `true` to use zebra styles. |
-| sortable | boolean
| `false` | Set to `true` for the sortable variant. |
-| expandable | boolean
| `false` | Set to `true` for the expandable variant. Automatically set to `true` if `batchExpansion` is `true`. |
-| batchExpansion | boolean
| `false` | Set to `true` to enable batch expansion. |
-| expandedRowIds | string[]
| `[]` | Specify the row ids to be expanded. |
-| stickyHeader | boolean
| `false` | Set to `true` to enable a sticky header. |
+| Prop name | Type | Default value | Description |
+| :------------- | :----------------------------------------------------------------------------------------------- | :------------ | :--------------------------------------------------------------------------------------------------------------- |
+| headers | {key: string; value: string; display?: (item) => string; sort?: (a, b) => number}[]
| `[]` | Specify the data table headers. |
+| rows | Object[]
| `[]` | Specify the rows the data table should render. keys defined in `headers` are used for the row ids. |
+| size | "compact" | "short" | "tall"
| -- | Set the size of the data table. |
+| title | string
| `""` | Specify the title of the data table. |
+| description | string
| `""` | Specify the description of the data table. |
+| zebra | boolean
| `false` | Set to `true` to use zebra styles. |
+| sortable | boolean
| `false` | Set to `true` for the sortable variant. |
+| expandable | boolean
| `false` | Set to `true` for the expandable variant. Automatically set to `true` if `batchExpansion` is `true`. |
+| batchExpansion | boolean
| `false` | Set to `true` to enable batch expansion. |
+| expandedRowIds | string[]
| `[]` | Specify the row ids to be expanded. |
+| radio | boolean
| `false` | Set to `true` for the radio selection variant. |
+| selectable | boolean
| `false` | Set to `true` for the selectable variant. Automatically set to `true` if `radio` or `batchSelection` are `true`. |
+| batchSelection | boolean
| `false` | Set to `true` to enable batch selection. |
+| selectedRowIds | string[]
| `[]` | Specify the row ids to be selected. |
+| stickyHeader | boolean
| `false` | Set to `true` to enable a sticky header. |
### Slots
@@ -5250,6 +5256,60 @@ No dispatched events.
---
+## ToolbarBatchActions
+
+### Import path
+
+```js
+import { ToolbarBatchActions } from "carbon-components-svelte";
+```
+
+### Props
+
+| Prop name | Type | Default value | Description |
+| :------------------ | :--------------------------------------------- | :------------ | :-------------------------------------- |
+| formatTotalSelected | (totalSelected: number) => string
| -- | Override the total items selected text. |
+
+### Slots
+
+- `+ {formatTotalSelected(batchSelectedIds.length)} +
+