UNPKG

@aimake/nanod

Version:

## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。

31 lines (30 loc) 763 B
import * as React from 'react'; export interface RateProps { prefixCls?: string; count?: number; value?: number; defaultValue?: number; allowHalf?: boolean; allowClear?: boolean; disabled?: boolean; onChange?: (value: number) => any; onHoverChange?: (value: number) => any; character?: React.ReactNode; className?: string; style?: React.CSSProperties; } export default class Rate extends React.Component<RateProps, any> { static propTypes: { prefixCls: any; character: any; }; static defaultProps: { prefixCls: string; character: JSX.Element; }; private rcRate; focus(): void; blur(): void; saveRate: (node: any) => void; render(): JSX.Element; }