@synergy-design-system/vue
Version:
Vue3 wrappers for the Synergy Design System
63 lines (62 loc) • 2.15 kB
TypeScript
import { SynBlurEvent, SynFocusEvent, SynRadioButton } from '@synergy-design-system/components';
export type { SynBlurEvent } from '@synergy-design-system/components';
export type { SynFocusEvent } from '@synergy-design-system/components';
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
/**
* The radio's value.
* When selected, the radio group will receive this value.
*/
value?: SynRadioButton["value"];
/**
* Disables the radio button.
*/
disabled?: SynRadioButton["disabled"];
/**
* The radio button's size.
* When used inside a radio group, the size will be determined by the radio group's size so
this attribute can typically be omitted.
*/
size?: SynRadioButton["size"];
/**
* Draws a pill-style radio button with rounded edges.
*/
pill?: SynRadioButton["pill"];
}, {
nativeElement: import('vue').Ref<SynRadioButton | undefined, SynRadioButton | undefined>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"syn-blur": (e: SynBlurEvent) => any;
"syn-focus": (e: SynFocusEvent) => any;
}, string, import('vue').PublicProps, Readonly<{
/**
* The radio's value.
* When selected, the radio group will receive this value.
*/
value?: SynRadioButton["value"];
/**
* Disables the radio button.
*/
disabled?: SynRadioButton["disabled"];
/**
* The radio button's size.
* When used inside a radio group, the size will be determined by the radio group's size so
this attribute can typically be omitted.
*/
size?: SynRadioButton["size"];
/**
* Draws a pill-style radio button with rounded edges.
*/
pill?: SynRadioButton["pill"];
}> & Readonly<{
"onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
"onSyn-focus"?: ((e: SynFocusEvent) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
nativeElement: unknown;
}, any>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};