tdesign-mobile-vue
Version:
tdesign-mobile-vue
18 lines (17 loc) • 457 B
TypeScript
import { TNode } from '../common';
export interface TdRateProps {
allowHalf?: boolean;
color?: string | Array<string>;
count?: number;
disabled?: boolean;
gap?: string | number;
icon?: Array<TNode | Function>;
placement?: 'top' | 'bottom' | '';
showText?: boolean;
size?: string;
texts?: Array<string>;
value?: number;
defaultValue?: number;
modelValue?: number;
onChange?: (value: number) => void;
}