UNPKG

550 BTypeScriptView Raw
1import * as React from 'react';
2export interface RateProps {
3 prefixCls?: string;
4 count?: number;
5 value?: number;
6 defaultValue?: number;
7 allowHalf?: boolean;
8 allowClear?: boolean;
9 disabled?: boolean;
10 tooltips?: Array<string>;
11 onChange?: (value: number) => void;
12 onHoverChange?: (value: number) => void;
13 character?: React.ReactNode;
14 className?: string;
15 style?: React.CSSProperties;
16}
17declare const Rate: React.ForwardRefExoticComponent<RateProps & React.RefAttributes<unknown>>;
18export default Rate;