UNPKG

vira

Version:

A simple and highly versatile design system using element-vir.

20 lines (19 loc) 734 B
import { type PartialWithUndefined } from '@augment-vir/common'; import { type MenuItem } from './pop-up-menu-item.js'; /** * An element for an individual menu item. * * @category PopUp * @category Elements */ export declare const ViraMenuItem: import("element-vir").DeclarativeElementDefinition<"vira-menu-item", Readonly<{ selected: boolean; } & PartialWithUndefined<{ /** * The text to show in the menu item. If this is not provided, it is expected that you * will instead utilize this element's `<slot>`. */ label: MenuItem["label"]; /** If `true`, does not render the selected check icon. */ hideCheckIcon: boolean; }>>, {}, {}, "vira-menu-item-selected", "vira-menu-item-", readonly []>;