tait-ui-components
Version:
Tait UI Component Library - Reusable Vue 3 components
130 lines • 3.25 kB
TypeScript
export interface ButtonProps {
label?: string;
action: () => string;
disabled?: boolean;
}
declare function __VLS_template(): {
help?(_: {}): any;
default?(_: {}): any;
selected?(_: {}): any;
secondaryBtn?(_: {}): any;
primaryBtn?(_: {}): any;
};
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
visible: {
type: BooleanConstructor;
default: boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
title: {
type: StringConstructor;
default: string;
};
width: {
type: StringConstructor;
default: string;
};
height: {
type: StringConstructor;
required: false;
default: string;
};
primaryLabel: {
type: StringConstructor;
default: string;
};
secondaryLabel: {
type: StringConstructor;
default: string;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
appendTo: {
type: StringConstructor;
required: false;
default: undefined;
};
hideFooter: {
type: BooleanConstructor;
default: boolean;
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
close: () => void;
"update:isValid": (value: boolean) => void;
submit: () => void;
afterHide: () => void;
show: () => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
visible: {
type: BooleanConstructor;
default: boolean;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
title: {
type: StringConstructor;
default: string;
};
width: {
type: StringConstructor;
default: string;
};
height: {
type: StringConstructor;
required: false;
default: string;
};
primaryLabel: {
type: StringConstructor;
default: string;
};
secondaryLabel: {
type: StringConstructor;
default: string;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
appendTo: {
type: StringConstructor;
required: false;
default: undefined;
};
hideFooter: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onShow?: (() => any) | undefined;
"onUpdate:isValid"?: ((value: boolean) => any) | undefined;
onSubmit?: (() => any) | undefined;
onClose?: (() => any) | undefined;
onAfterHide?: (() => any) | undefined;
}>, {
width: string;
height: string;
loading: boolean;
disabled: boolean;
title: string;
appendTo: string;
visible: boolean;
primaryLabel: string;
secondaryLabel: string;
hideFooter: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=DaFormModal.vue.d.ts.map