UNPKG

baseui

Version:

A React Component library implementing the Base design language

18 lines (17 loc) 636 B
import * as React from 'react'; import type { EmoticonRatingProps, RatingState } from './types'; import type { SyntheticEvent } from 'react'; declare class EmoticonRating extends React.Component<EmoticonRatingProps, RatingState> { static defaultProps: { overrides: {}; readOnly: boolean; }; state: RatingState; selectItem: (value: number) => void; updatePreview: (previewIndex?: number) => void; handleFocus: (event: SyntheticEvent) => void; handleBlur: (event: SyntheticEvent) => void; renderRatingContents: () => any[]; render(): React.JSX.Element; } export default EmoticonRating;