Context Menu
Right-click triggered menu.
Generated from the package's public source.
API
CheckboxItemcomponent
CheckboxItem(props: ContextMenuCheckboxItemProps): Element
Props
checked?booleandisabled?booleanonCheckedChange?(checked: boolean) => voidtextValue?string
children: Element
Contentcomponent
Content(props: ContextMenuContentProps): Element
Props
class?stringstyle?string | CSSProperties
children: Element
ContextMenuCheckboxItemPropsinterface
Props
checked?booleandisabled?booleanonCheckedChange?(checked: boolean) => voidtextValue?string
children: Element
ContextMenuContentPropsinterface
Props
class?stringstyle?string | CSSProperties
children: Element
ContextMenuItemPropsinterface
Props
disabled?booleanonSelect?() => voidtextValue?string
children: Element
ContextMenuLabelPropsinterface
Props
class?string
children: Element
ContextMenuRadioGroupPropsinterface
Props
onValueChange?(value: string) => voidvalue?string
children: Element
ContextMenuRadioItemPropsinterface
Props
disabled?booleantextValue?stringvaluestring
children: Element
ContextMenuRootPropsinterface
children: Element
ContextMenuSeparatorPropsinterface
Props
class?string
ContextMenuTriggerPropsinterface
Props
class?string
children: Element
Itemcomponent
Item(props: ContextMenuItemProps): Element
Props
disabled?booleanonSelect?() => voidtextValue?string
children: Element
Labelcomponent
Label(props: ContextMenuLabelProps): Element
Props
class?string
children: Element
RadioGroupcomponent
RadioGroup(props: ContextMenuRadioGroupProps): Element
Props
onValueChange?(value: string) => voidvalue?string
children: Element
RadioItemcomponent
RadioItem(props: ContextMenuRadioItemProps): Element
Props
disabled?booleantextValue?stringvaluestring
children: Element
Rootcomponent
Root(props: ContextMenuRootProps): Element
children: Element
Separatorcomponent
Separator(props: ContextMenuSeparatorProps): Element
Props
class?string
Triggercomponent
Trigger(props: ContextMenuTriggerProps): Element
Props
class?string
children: Element