UNPKG

@onesy/ui-react

Version:
27 lines (26 loc) 756 B
import React from 'react'; import { IBaseElement, IColor, IElement } from '../types'; export declare type IRating = Omit<IBaseElement, 'onChange'> & { colorInactive?: IColor; value?: number; valueDefault?: number; valueActive?: number; valueActiveDefault?: number; onChange?: (value: number) => any; onChangeActive?: (value: number) => any; values?: number; precision?: number; onlyValue?: boolean; icon?: IElement; icons?: { default?: IElement; [property: number | string]: IElement; }; iconInactive?: IElement; iconActive?: IElement; IconProps?: any; IconActiveProps?: any; IconInactiveProps?: any; }; declare const Rating: React.FC<IRating>; export default Rating;