@project-jade-garden/bits-ui
Version:
Bits UI anatomy slots for headless design
33 lines (32 loc) • 1.09 kB
text/typescript
import { SVATraits } from 'jade-garden';
/**
* **Command**
* @description A command menu component that can be used to search, filter, and select items.
* @see [source](https://www.bits-ui.com/docs/components/command#api-reference)
*/
export declare const slots: readonly ["root", "empty", "group", "groupHeading", "groupItems", "input", "item", "linkItem", "list", "viewport", "loading", "separator"];
/**
* **Command**
* @description A command menu component that can be used to search, filter, and select items.
* @see [source](https://www.bits-ui.com/docs/components/command#api-reference)
*/
export type Slots = (typeof slots)[number];
/**
* **Command**
* @description A command menu component that can be used to search, filter, and select items.
* @see [source](https://www.bits-ui.com/docs/components/command#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {};
empty: {};
group: {};
groupHeading: {};
groupItems: {};
input: {};
item: {};
linkItem: {};
list: {};
viewport: {};
loading: {};
separator: {};
}>;