@synergy-design-system/vue
Version:
Vue3 wrappers for the Synergy Design System
32 lines (31 loc) • 1.29 kB
TypeScript
import { default as SynOption } from '@synergy-design-system/components/components/option/option.component.js';
type __VLS_Props = {
/**
* The option's value.
* When selected, the containing form control will receive this value.
* The value must be unique
from other options in the same group.
* Values may not contain spaces, as spaces are used as delimiters when listing
multiple values.
*/
value?: SynOption['value'];
/**
* Draws the option in a disabled state, preventing selection.
*/
disabled?: SynOption['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<SynOption | undefined, SynOption | 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;
};
};