# Component/Tree

## Props


| Name | Type | Required | Default | Description |
|------|------|----------|---------|-------------|
| `items` | `TreeEntry[]` | Yes |  |  |
| `searchKeyword` | `string | undefined` | No |  |  |
| `expandedIds` | `string[] | undefined` | No |  |  |
| `defaultExpandedIds` | `string[] | undefined` | No |  |  |
| `selectedIds` | `string[] | undefined` | No |  |  |
| `checkable` | `boolean | undefined` | No | false |  |
| `checkedIds` | `string[] | undefined` | No | [] |  |
| `onSelect` | `((item: TreeEntry, path: TreePath) => void) | undefined` | No |  |  |
| `onChecked` | `((items: TreePath, checkedIds: string[]) => void) | undefined` | No |  |  |
| `onExpand` | `((item: TreeEntry, path: TreePath) => void) | undefined` | No |  |  |
