tdesign-mobile-vue
Version:
tdesign-mobile-vue
53 lines (52 loc) • 1.28 kB
TypeScript
import { TdRateProps } from './type';
import { PropType } from 'vue';
declare const _default: {
allowHalf: BooleanConstructor;
color: {
type: PropType<string | string[]>;
default: string;
};
count: {
type: NumberConstructor;
default: number;
};
disabled: {
type: BooleanConstructor;
default: any;
};
gap: {
type: PropType<string | number>;
default: number;
};
icon: {
type: PropType<(Function | ((h: typeof import("vue").h) => import("..").SlotReturnValue))[]>;
};
placement: {
type: PropType<"" | "top" | "bottom">;
default: "" | "top" | "bottom";
validator(val: TdRateProps['placement']): boolean;
};
showText: BooleanConstructor;
size: {
type: StringConstructor;
default: string;
};
texts: {
type: PropType<string[]>;
default: () => TdRateProps['texts'];
};
value: {
type: NumberConstructor;
default: any;
};
modelValue: {
type: NumberConstructor;
default: any;
};
defaultValue: {
type: NumberConstructor;
default: number;
};
onChange: PropType<(value: number) => void>;
};
export default _default;