@nethesis/vue-components
Version:
This library contains: - a collection of Vue 3 components based on [Flowbite](https://flowbite.com/) - a set of utility functions
68 lines • 1.97 kB
TypeScript
import { type PropType } from 'vue';
export type ButtonKind = 'primary' | 'secondary' | 'tertiary' | 'danger';
export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
declare var __VLS_4: {}, __VLS_6: {}, __VLS_11: {};
type __VLS_Slots = {} & {
prefix?: (props: typeof __VLS_4) => any;
} & {
default?: (props: typeof __VLS_6) => any;
} & {
suffix?: (props: typeof __VLS_11) => any;
};
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
kind: {
type: PropType<ButtonKind>;
default: string;
};
size: {
type: PropType<ButtonSize>;
default: string;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
loadingPosition: {
type: PropType<"prefix" | "suffix">;
default: string;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
kind: {
type: PropType<ButtonKind>;
default: string;
};
size: {
type: PropType<ButtonSize>;
default: string;
};
loading: {
type: BooleanConstructor;
default: boolean;
};
loadingPosition: {
type: PropType<"prefix" | "suffix">;
default: string;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{}>, {
size: ButtonSize;
kind: ButtonKind;
loading: boolean;
loadingPosition: "prefix" | "suffix";
disabled: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=NeButton.vue.d.ts.map