View as Markdown

API reference: @salmonui/dropdowns/tree-select

TreeSelectcomponent

import { TreeSelect } from '@salmonui/dropdowns/tree-select';
function TreeSelect<Item = unknown>(props: TreeSelectProps<Item>): ReactNode;

A dropdown whose popup is a tree. ref receives the trigger <button role="combobox">.