Skip to content

Commit 98e2c8c

Browse files
committed
docs(list): add a note about disabled list items and primary components
1 parent eb2a3a9 commit 98e2c8c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/components/list/examples/list-primary-component.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ import { Component, h } from '@stencil/core';
1818
* You can set `order` either via the primary component's own styles,
1919
* or via its `props`.
2020
* :::
21+
*
22+
* :::note
23+
* The primary component does not become automatically disabled,
24+
* once the list item is disabled. Clicks on, or interactions with the component
25+
* will still be registered on disabled items.
26+
* You should handle the disabled state of the components accordingly.
27+
* :::
2128
*/
2229
@Component({
2330
tag: 'limel-example-list-primary-component',

0 commit comments

Comments
 (0)