@nextcloud/vue
Version:
Nextcloud vue components
41 lines (40 loc) • 1.27 kB
TypeScript
import { Slot } from 'vue';
type __VLS_Props = {
/**
* Non visible label for accessibility when no `label` is passed.
*/
ariaLabel?: string;
/**
* The visual label of the radio button
*/
label?: string;
/**
* The value that should be assigned to the `modelValue` of the `NcRadioGroup`.
*/
value: string;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
/**
* Optional icon slot
*/
icon?: Slot;
}> & {
/**
* Optional icon slot
*/
icon?: Slot;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};