Ui Kit
Getting StartedColorsTypography
Components
ActionsPanelAlertAutocompleteButtonCheckboxDropdownErrorPresenterFormGridGroupedListHeaderIconInputKeyValueLabelLabelActionLayoutLinkListNavigationPanelPageHeaderProgressRadioSelectSidePanelTabsTextAreaToggleTreeTree base usageTree with the checkboxesTree with iconsSearchableTreeSearchableTree usageSearchableTree controlled
Changelog

Tree

data
TreeNodeType[]
required
renderHeader
((content: ReactNode) => ReactNode) | undefined
renderDescription
((content: ReactNode) => ReactNode) | undefined
onSelectItem
((event: SyntheticEvent<HTMLElement, Event>, item: TreeNodeType) => void) | undefined
onSelectedItemsChanged
((item: TreeNodeType[]) => void) | undefined
expandedIds
ReactText[] | undefined
onClick
((event: SyntheticEvent<HTMLElement, Event>, item: TreeNodeType) => void) | undefined
className
string | undefined
defaultSelected
string[] | undefined

Tree base usage

Tree with the checkboxes

Tree with icons

SearchableTree

SearchableTree usage

SearchableTree controlled