gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
32 lines (31 loc) • 738 B
TypeScript
import { type StyleValue } from 'vue';
export interface RateProps {
rootStyle?: StyleValue;
rootClass?: string;
modelValue?: number;
allowHalf?: boolean;
clearable?: boolean;
count?: number;
size?: string;
gap?: string;
iconFamily?: string;
icon?: string;
voidIcon?: string;
text?: string;
voidText?: string;
color?: string;
voidColor?: string;
disabled?: boolean;
readonly?: boolean;
validateEvent?: boolean;
}
export declare const defaultRateProps: {
count: number;
icon: string;
voidIcon: string;
validateEvent: boolean;
};
export interface RateEmits {
(e: 'update:model-value', value: number): void;
(e: 'change', value: number): void;
}