axp-ui/docs/components/Alert.vue.d.ts

43 lines
1.6 KiB
TypeScript
Raw Normal View History

2023-10-11 10:54:20 +03:00
import type { TColor } from '../colors';
export type TUiAlertProps = {
color?: TColor;
value?: string;
close?: boolean;
};
export type TUiAlertEmits = {
(e: 'close'): void;
};
declare const _default: __VLS_WithTemplateSlots<import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
color: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<"primary" | "accent" | "info" | "success" | "warning" | "error" | "dark" | "light">;
};
value: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
};
close: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<boolean>;
};
}, {}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
close: () => void;
}, string, import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
color: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<"primary" | "accent" | "info" | "success" | "warning" | "error" | "dark" | "light">;
};
value: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<string>;
};
close: {
type: import('./vue/dist/vue.esm-bundler.js').PropType<boolean>;
};
}>> & {
onClose?: (() => any) | undefined;
}, {}, {}>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};