t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
36 lines (35 loc) • 1.16 kB
TypeScript
import type { PropType, ExtractPropTypes, InjectionKey } from 'vue';
import type { ListSizeType } from './interface';
export declare const Props: {
readonly listStyle: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly zebra: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly center: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly textColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly borderColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly size: {
readonly type: PropType<ListSizeType>;
readonly default: () => ListSizeType;
readonly validator: (val: ListSizeType) => boolean;
};
readonly maxHeight: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
};
export declare type ListPropsType = ExtractPropTypes<typeof Props>;
export declare const listPropsKey: InjectionKey<ListPropsType>;