Skip to content

Commit 0767821

Browse files
calcite-adminjcfrancobenelan
authored
docs: update component READMEs (#6337)
This PR was automatically generated by the update-doc GitHub action Co-authored-by: jcfranco <[email protected]> Co-authored-by: Ben Elan <[email protected]>
1 parent e84fa66 commit 0767821

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

src/components/tree-item/readme.md

+12-9
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,21 @@
66

77
## Properties
88

9-
| Property | Attribute | Description | Type | Default |
10-
| ---------- | ---------- | ---------------------------------------------------------------------------------------- | --------- | ------- |
11-
| `disabled` | `disabled` | When `true`, interaction is prevented and the component is displayed with lower opacity. | `boolean` | `false` |
12-
| `expanded` | `expanded` | When `true`, the component is expanded. | `boolean` | `false` |
13-
| `selected` | `selected` | When `true`, the component is selected. | `boolean` | `false` |
9+
| Property | Attribute | Description | Type | Default |
10+
| ------------- | --------------- | -------------------------------------------------------------------------------------------- | ---------------------------- | ----------- |
11+
| `disabled` | `disabled` | When `true`, interaction is prevented and the component is displayed with lower opacity. | `boolean` | `false` |
12+
| `expanded` | `expanded` | When `true`, the component is expanded. | `boolean` | `false` |
13+
| `iconFlipRtl` | `icon-flip-rtl` | When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). | `"both" \| "end" \| "start"` | `undefined` |
14+
| `iconStart` | `icon-start` | Specifies an icon to display at the start of the component. | `string` | `undefined` |
15+
| `selected` | `selected` | When `true`, the component is selected. | `boolean` | `false` |
1416

1517
## Slots
1618

17-
| Slot | Description |
18-
| ------------ | ------------------------------------------------- |
19-
| | A slot for adding text. |
20-
| `"children"` | A slot for adding nested `calcite-tree` elements. |
19+
| Slot | Description |
20+
| --------------- | ----------------------------------------------------------------------------------------------------- |
21+
| | A slot for adding text. |
22+
| `"actions-end"` | A slot for adding actions to the end of the component. It is recommended to use two or fewer actions. |
23+
| `"children"` | A slot for adding nested `calcite-tree` elements. |
2124

2225
## Dependencies
2326

0 commit comments

Comments
 (0)