@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
33 lines (32 loc) • 1.2 kB
text/typescript
import { OptionItemProps } from '@zag-js/menu';
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { PolymorphicProps } from '../factory';
type CheckboxItemProps = Omit<OptionItemProps, 'type' | 'onCheckedChange'>;
export interface MenuCheckboxItemBaseProps extends CheckboxItemProps, PolymorphicProps {
}
export interface MenuCheckboxItemProps extends MenuCheckboxItemBaseProps,
/**
* @vue-ignore
*/
HTMLAttributes {
}
export type MenuCheckboxItemEmits = {
'update:checked': [value: boolean];
};
declare const _default: __VLS_WithTemplateSlots< DefineComponent<MenuCheckboxItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:checked": (value: boolean) => any;
}, string, PublicProps, Readonly<MenuCheckboxItemProps> & Readonly<{
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
}>, {
checked: boolean;
disabled: boolean;
closeOnSelect: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};