UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

21 lines (20 loc) 899 B
import { MantineColor } from '../../../core'; export interface MenuSelectableItemProps { role: 'menuitemcheckbox' | 'menuitemradio'; checked: boolean; indicator: React.ReactNode; onSelect: () => void; color: MantineColor | undefined; closeMenuOnClick: boolean | undefined; rightSection: React.ReactNode; children: React.ReactNode; disabled: boolean | undefined; dataDisabled: boolean | undefined; className: string | undefined; style: any; styles: any; classNames: any; buttonRef: React.Ref<HTMLButtonElement> | undefined; others: Record<string, any>; } export declare function MenuSelectableItem({ role, checked, indicator, onSelect, color, closeMenuOnClick, rightSection, children, disabled, dataDisabled, className, style, styles, classNames, buttonRef, others, }: MenuSelectableItemProps): import("react/jsx-runtime").JSX.Element;