UNPKG

vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

39 lines (38 loc) 1.7 kB
import { ExtractPropTypes, PropType } from 'vue'; import { ConfigurableProps } from '@vexip-ui/config'; import { ConfirmRenderFn } from './symbol'; export declare const confirmProps: { inherit: PropType<boolean>; locale: PropType<Partial<{ confirm: string; cancel: string; }>>; width: PropType<string | number>; height: PropType<string | number>; top: PropType<string | number>; left: PropType<string | number>; right: PropType<string | number>; bottom: PropType<string | number>; maskClose: PropType<boolean>; confirmType: PropType<"default" | "success" | "error" | "warning" | "info" | "primary">; cancelType: PropType<"default" | "success" | "error" | "warning" | "info" | "primary">; confirmText: PropType<string>; cancelText: PropType<string>; icon: PropType<any>; className: PropType<string | Record<string, any> | (string | Record<string, any>)[]>; style: PropType<string | import('vue').CSSProperties | (string | import('vue').CSSProperties)[]>; renderer: PropType<ConfirmRenderFn>; iconProps: PropType<Omit<Partial<import('../icon').IconProps>, "icon"> & { class?: import('@vexip-ui/config').ClassType; style?: import('@vexip-ui/config').StyleType; }>; closable: PropType<boolean>; contentAlign: PropType<"center" | "right" | "left">; actionsAlign: PropType<"center" | "right" | "left">; parseHtml: PropType<boolean>; cancelable: PropType<boolean>; xOffset: PropType<string | number>; yOffset: PropType<string | number>; }; export type ConfirmProps = ExtractPropTypes<typeof confirmProps>; export type ConfirmCProps = ConfigurableProps<ConfirmProps>;