vue3-tailwind-modal
Version:
A simple TailwindCSS modal, written in Vue3.
72 lines (67 loc) • 1.6 kB
TypeScript
import { AllowedComponentProps } from 'vue';
import { ComponentCustomProps } from 'vue';
import { ComponentOptionsMixin } from 'vue';
import { DefineComponent } from 'vue';
import { ExtractPropTypes } from 'vue';
import { Plugin as Plugin_2 } from 'vue';
import { VNodeProps } from 'vue';
declare function InstallPlugin(): Plugin_2;
export default InstallPlugin;
export declare const Vue3TailwindModal: DefineComponent< {
showModal: {
type: BooleanConstructor;
default: boolean;
};
allowBackgroundClose: {
type: BooleanConstructor;
default: boolean;
};
closeOnEscape: {
type: BooleanConstructor;
default: boolean;
};
colors: {
type: StringConstructor;
default: string;
};
modalClasses: {
type: StringConstructor;
default: string;
};
}, {
close: () => void;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
showModal: {
type: BooleanConstructor;
default: boolean;
};
allowBackgroundClose: {
type: BooleanConstructor;
default: boolean;
};
closeOnEscape: {
type: BooleanConstructor;
default: boolean;
};
colors: {
type: StringConstructor;
default: string;
};
modalClasses: {
type: StringConstructor;
default: string;
};
}>>, {
showModal: boolean;
allowBackgroundClose: boolean;
closeOnEscape: boolean;
colors: string;
modalClasses: string;
}>;
export declare interface VueAutoTyper {
showModal?: boolean;
allowBackgroundClose?: boolean;
closeOnEscape?: boolean;
colors?: string;
}
export { }