@jiaozhiye/qm-design-vue
Version:
A Component Library for Vue3.0
34 lines (33 loc) • 865 B
TypeScript
import type { PropType, CSSProperties, ExtractPropTypes, StyleValue } from 'vue';
import type { Arrayable, ComponentSize } from '../../_utils/types';
export declare const _props: {
spinning: {
type: BooleanConstructor;
default: boolean;
};
size: {
type: PropType<ComponentSize>;
validator: (val: string) => boolean;
};
mode: {
type: PropType<"normal" | "spin">;
default: string;
};
tip: {
type: StringConstructor;
};
delay: {
type: NumberConstructor;
default: number;
};
class: {
type: PropType<string | Arrayable<Record<string, boolean>>>;
};
style: {
type: PropType<StyleValue>;
};
containerStyle: {
type: PropType<string | CSSProperties>;
};
};
export type SpinProps = ExtractPropTypes<typeof _props>;