vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
25 lines (24 loc) • 1.08 kB
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
import { ConfigurableProps } from '@vexip-ui/config';
import { TagSlots } from './symbol';
export declare const tagProps: {
inherit: PropType<boolean>;
size: PropType<"default" | "small" | "large">;
type: PropType<"default" | "success" | "error" | "warning" | "info" | "cyan" | "gold" | "lime" | "magenta" | "navy" | "orange" | "pink" | "purple" | "tomato" | "primary">;
border: PropType<boolean>;
closable: PropType<boolean>;
color: PropType<string>;
simple: PropType<boolean>;
circle: PropType<boolean>;
prefix: PropType<string | number>;
prefixBg: PropType<string>;
prefixColor: PropType<string>;
suffix: PropType<string | number>;
suffixBg: PropType<string>;
suffixColor: PropType<string>;
disabled: PropType<boolean>;
slots: PropType<TagSlots>;
onClose: PropType<import('@vexip-ui/config').AnyFunction | import('@vexip-ui/config').AnyFunction[]>;
};
export type TagProps = ExtractPropTypes<typeof tagProps>;
export type TagCProps = ConfigurableProps<TagProps>;