UNPKG

@synergy-design-system/vue

Version:

Vue3 wrappers for the Synergy Design System

41 lines (40 loc) 1.52 kB
import { default as SynMenuItem } from '@synergy-design-system/components/components/menu-item/menu-item.component.js'; type __VLS_Props = { /** * The type of menu item to render. * To use `checked`, this value must be set to `checkbox`. */ type?: SynMenuItem['type']; /** * Draws the item in a checked state. */ checked?: SynMenuItem['checked']; /** * A unique value to store in the menu item. * This can be used as a way to identify menu items when selected. */ value?: SynMenuItem['value']; /** * Draws the menu item in a loading state. */ loading?: SynMenuItem['loading']; /** * Draws the menu item in a disabled state, preventing selection. */ disabled?: SynMenuItem['disabled']; }; declare var __VLS_9: {}; type __VLS_Slots = {} & { default?: (props: typeof __VLS_9) => any; }; declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, { nativeElement: import('vue').Ref<SynMenuItem | undefined, SynMenuItem | undefined>; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };