You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Delete TreeView.LinkItem.
* Update treeview stories to not use LinkItem.
* Remove all other references to TreeView.LinkItem.
* Linting fixes.
* Revert changes to CHANGELOG. Should be immutable.
* Add onSelect example for TreeView.Item.
* Create honest-moles-divide.md
* Delete TreeView.LinkItem.
* Update treeview stories to not use LinkItem.
* Remove all other references to TreeView.LinkItem.
* Linting fixes.
* Revert changes to CHANGELOG. Should be immutable.
* Add onSelect example for TreeView.Item.
* Remove test that expected TreeView.Item to have an href prop.
* Update .changeset/honest-moles-divide.md
Co-authored-by: Cole Bemis <[email protected]>
Co-authored-by: Cole Bemis <[email protected]>
The URL that the item navigates to. <InlineCode>href</InlineCode> is passed to the underlying{''}
332
-
<InlineCode><a></InlineCode> element. If <InlineCode>as</InlineCode> is specified, the component may need
333
-
different props. If the item contains a sub-nav, the item is rendered as a{''}
334
-
<InlineCode><button></InlineCode> and <InlineCode>href</InlineCode> is ignored.
335
-
</>
336
-
}
337
-
/>
338
-
<PropsTableRow
339
-
name="current"
340
-
type="boolean"
341
-
defaultValue="false"
342
-
description="Whether the item is the current item. No more than one item should be current at once. The path to the current item will be expanded by default."
343
-
/>
344
-
<PropsTableRow
345
-
name="defaultExpanded"
346
-
type="boolean"
347
-
description="The expanded state of the item when it is initially rendered. Use when you do not need to control its state."
348
-
/>
349
-
<PropsTableRow
350
-
name="expanded"
351
-
type="boolean"
352
-
description="The controlled expanded state of item. Must be used in conjunction with onExpandedChange."
353
-
/>
354
-
<PropsTableRow
355
-
name="onExpandedChange"
356
-
type="(expanded: boolean) => void"
357
-
description="Event handler called when the expanded state of the item changes."
0 commit comments