bootstrap-vue-3
Version:
Early (but lovely) implementation of Vue 3, Bootstrap 5 and Typescript
77 lines (76 loc) • 1.99 kB
TypeScript
import type { Booleanish, ClassValue, ColorVariant } from '../../types';
declare const _sfc_main: import("vue").DefineComponent<{
buttonClass: {
type: null;
required: false;
};
active: {
type: null;
required: false;
default: boolean;
};
activeClass: {
type: StringConstructor;
required: false;
default: string;
};
disabled: {
type: null;
required: false;
default: boolean;
};
variant: {
type: null;
required: false;
};
}, {
props: {
buttonClass?: ClassValue | undefined;
active: Booleanish;
activeClass: string;
disabled: Booleanish;
variant?: ColorVariant | undefined;
};
activeBoolean: import("vue").ComputedRef<boolean>;
disabledBoolean: import("vue").ComputedRef<boolean>;
emit: (e: 'click', value: MouseEvent) => void;
classes: import("vue").ComputedRef<{
[x: string]: boolean;
disabled: boolean;
}>;
attrs: import("vue").ComputedRef<{
disabled: boolean;
}>;
clicked: (e: MouseEvent) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
buttonClass: {
type: null;
required: false;
};
active: {
type: null;
required: false;
default: boolean;
};
activeClass: {
type: StringConstructor;
required: false;
default: string;
};
disabled: {
type: null;
required: false;
default: boolean;
};
variant: {
type: null;
required: false;
};
}>> & {
onClick?: ((...args: any[]) => any) | undefined;
}, {
disabled: any;
active: any;
activeClass: string;
}>;
export default _sfc_main;