UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

19 lines (18 loc) 933 B
import React from 'react'; import { BoxProps, ElementProps } from '../../../core'; export interface RatingItemProps extends BoxProps, ElementProps<'input', 'value' | 'size'> { getSymbolLabel: ((value: number) => string) | undefined; emptyIcon?: React.ReactNode | ((value: number) => React.ReactNode); fullIcon?: React.ReactNode | ((value: number) => React.ReactNode); full: boolean; active: boolean; fractionValue: number; value: number; id: string; onChange: (event: React.ChangeEvent<HTMLInputElement> | number) => void; onInputChange: (event: React.ChangeEvent<HTMLInputElement> | number) => void; } export declare function RatingItem({ getSymbolLabel, emptyIcon, fullIcon, full, active, value, readOnly, fractionValue, color, id, onBlur, onChange, onInputChange, style, ...others }: RatingItemProps): React.JSX.Element; export declare namespace RatingItem { var displayName: string; }