UNPKG

acud

Version:

acg react 组件库

22 lines (21 loc) • 662 B
import { CSSProperties, ReactNode } from 'react'; export interface RateProps { prefixCls?: string; allowClear?: boolean; allowHalf?: boolean; className?: string; style?: CSSProperties; count: number; defaultValue?: number; value?: number; disabled?: boolean; tooltips?: Array<string>; tags?: Array<string>; renderCharacter?: (index: number) => ReactNode; onBlur?: () => void; onChange?: (value: number) => void; onFocus?: () => void; onHoverChange?: (value: number) => void; onLabelChange?: (value: string, record: string[]) => void; renderTag?: (value: any, index: number) => ReactNode; }