@project-jade-garden/reka-ui
Version:
Reka UI anatomy slots for headless design
26 lines (25 loc) • 1.09 kB
TypeScript
import { SVATraits } from 'jade-garden';
/**
* **Tree**
* @description A tree view widget displays a hierarchical list of items that can be expanded or collapsed to show or hide their child items, such as in a file system navigator.
* @see [source](https://reka-ui.com/docs/components/tree#anatomy)
*/
export declare const slots: readonly ["root", "item", "virtualizer"];
/**
* **Tree**
* @description A tree view widget displays a hierarchical list of items that can be expanded or collapsed to show or hide their child items, such as in a file system navigator.
* @see [source](https://reka-ui.com/docs/components/tree#anatomy)
*/
export type Slots = (typeof slots)[number];
/**
* **Tree**
* @description A tree view widget displays a hierarchical list of items that can be expanded or collapsed to show or hide their child items, such as in a file system navigator.
* @see [source](https://reka-ui.com/docs/components/tree#api-reference)
*/
export type Traits = SVATraits<Slots, {
item: {
indent: "number";
expanded: "";
selected: "";
};
}>;