UNPKG

element-plus

Version:

A Component Library for Vue 3

20 lines (19 loc) 1.31 kB
import type { ExtractPropTypes } from 'vue'; import type Alert from './alert.vue'; export declare const alertEffects: readonly ["light", "dark"]; export declare const alertProps: { readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>; readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>; readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "warning" | "info" | "error", unknown, "info", boolean>; readonly closable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>; readonly closeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>; readonly showIcon: BooleanConstructor; readonly center: BooleanConstructor; readonly effect: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "dark" | "light", unknown, "light", boolean>; }; export declare type AlertProps = ExtractPropTypes<typeof alertProps>; export declare const alertEmits: { close: (evt: MouseEvent) => boolean; }; export declare type AlertEmits = typeof alertEmits; export declare type AlertInstance = InstanceType<typeof Alert>;