various-ui
Version:
This is a test version of the Vue 3 component library
32 lines (31 loc) • 845 B
TypeScript
import { PropType, ExtractPropTypes } from "vue";
import { UiTypes } from "@various/constants";
export declare const UiMessagePropsOption: {
readonly message: {
readonly type: StringConstructor;
readonly required: true;
};
readonly type: {
readonly type: PropType<UiTypes.type>;
readonly default: "info";
};
readonly icon: {
readonly type: StringConstructor;
};
readonly delay: {
readonly type: NumberConstructor;
readonly default: 3000;
};
readonly offset: {
readonly type: NumberConstructor;
readonly default: 20;
};
};
export type UiMessageProps = ExtractPropTypes<typeof UiMessagePropsOption>;
export type UiMessageOption = {
message: string;
offset?: number;
delay?: number;
icon?: string;
type?: string;
};