UNPKG

@blockscout/ui-toolkit

Version:

A comprehensive collection of reusable Chakra UI components and theme system for Blockscout's projects

13 lines (12 loc) 459 B
import { RatingGroup } from '@chakra-ui/react'; import * as React from 'react'; export interface RatingProps extends Omit<RatingGroup.RootProviderProps, 'value'> { count?: number; label?: string | Array<string>; defaultValue?: number; onValueChange?: ({ value }: { value: number; }) => void; readOnly?: boolean; } export declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<HTMLDivElement>>;