@opencloud-eu/design-system
Version:
OpenCloud Design System is used to design OpenCloud UI components
31 lines (30 loc) • 952 B
TypeScript
export interface Props {
/**
* @docs The label of the select.
*/
label: string;
/**
* @docs The available options of the select.
*/
options: unknown[];
/**
* @docs The selected value.
*/
selected: string | number;
/**
* @docs The element ID of the select.
*/
selectId?: string;
}
export interface Emits {
/**
* @docs Emitted when the value of the select has changed.
*/
(event: 'change', value: string | boolean): void;
}
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
change: (value: string | boolean) => any;
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
onChange?: (value: string | boolean) => any;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
export default _default;