vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
24 lines (23 loc) • 1.08 kB
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
import { ConfigurableProps } from '@vexip-ui/config';
import { ToastOptions } from './symbol';
export declare const toastProps: {
inherit: PropType<boolean>;
bodyWidth: PropType<number>;
icon: PropType<any>;
iconProps: PropType<Omit<Partial<import('../icon').IconProps>, "icon"> & {
class?: import('@vexip-ui/config').ClassType;
style?: import('@vexip-ui/config').StyleType;
}>;
position: PropType<"bottom" | "top" | "center">;
transitionName: PropType<string>;
closable: PropType<boolean>;
maskClose: PropType<boolean>;
showMask: PropType<boolean>;
maskClass: PropType<string | Record<string, any> | (string | Record<string, any>)[]>;
maskStyle: PropType<string | import('vue').CSSProperties | (string | import('vue').CSSProperties)[]>;
parseHtml: PropType<boolean>;
renderer: PropType<(options: ToastOptions) => any>;
};
export type ToastProps = ExtractPropTypes<typeof toastProps>;
export type ToastCProps = ConfigurableProps<ToastProps, 'renderer'>;