@opencloud-eu/design-system
Version:
OpenCloud Design System is used to design OpenCloud UI components
40 lines (39 loc) • 1.27 kB
TypeScript
export interface Props {
/**
* @docs The label of the radio button.
*/
label: string;
/**
* @docs Determines if the radio button is disabled.
* @default false
*/
disabled?: boolean;
/**
* @docs Determines if the label should be visually hidden. Note that it will still be accessible to screen readers.
* @default false
*/
hideLabel?: boolean;
/**
* @docs The element ID of the radio button.
*/
id?: string;
/**
* @docs The value of the radio button.
*/
option?: unknown;
/**
* @docs The size of the radio button.
* @default medium
*/
size?: 'small' | 'medium' | 'large';
}
type __VLS_Props = Props;
type __VLS_PublicProps = {
modelValue?: boolean | unknown;
} & __VLS_Props;
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: unknown) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:modelValue"?: (value: unknown) => any;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
export default _default;