@project-jade-garden/bits-ui
Version:
Bits UI anatomy slots for headless design
37 lines (36 loc) • 1.37 kB
text/typescript
import { SVATraits } from 'jade-garden';
/**
* **Context Menu**
* @description Displays options or actions relevant to a specific context or selected item, triggered by a right-click.
* @see [source](https://www.bits-ui.com/docs/components/context-menu#api-reference)
*/
export declare const slots: readonly ["root", "sub", "item", "group", "groupHeading", "arrow", "content", "contentStatic", "trigger", "radioItem", "separator", "radioGroup", "subContent", "subContentStatic", "subTrigger", "checkboxItem"];
/**
* **Context Menu**
* @description Displays options or actions relevant to a specific context or selected item, triggered by a right-click.
* @see [source](https://www.bits-ui.com/docs/components/context-menu#api-reference)
*/
export type Slots = (typeof slots)[number];
/**
* **Context Menu**
* @description Displays options or actions relevant to a specific context or selected item, triggered by a right-click.
* @see [source](https://www.bits-ui.com/docs/components/context-menu#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {};
sub: {};
item: {};
group: {};
groupHeading: {};
arrow: {};
content: {};
contentStatic: {};
trigger: {};
radioItem: {};
separator: {};
radioGroup: {};
subContent: {};
subContentStatic: {};
subTrigger: {};
checkboxItem: {};
}>;