export type facesRatingBarValues = 0 | 1 | 2 | 3 | 4 | 5; export type FacesRatingBarMaxValue = 2 | 3 | 4 | 5; /** @deprecated Use `FacesRatingBarMaxValue` instead. */ export type maxValue = FacesRatingBarMaxValue; export type FacesRatingBarProps = { /** Applies a data-hook HTML attribute that can be used in the tests. */ dataHook?: string; /** Specifies a CSS class name to be appended to the component's root element. * @internal */ className?: string; /** Specifies whether the rating bar is in read only mode. * @default false */ readOnly?: boolean; /** Specifies the rate value descriptions' texts. The array length must match the maxValue prop number (5 by default). */ descriptionValues?: string[]; /** Specifies the maximum rate value. * @default 5 */ maxValue?: FacesRatingBarMaxValue; /** Specifies the selected rate, from `0` to `maxValue`. `0` or no value indicates undefined rating. `readOnly` mode value can't be `0`. */ value?: number; /** Defines a handler that is called whenever a rating changes. * ##### Signature: * function(rating: number) => void * * `rating`: 1 | 2 | 3 | 4 | 5 */ onChange?: (rating: number) => void; }; //# sourceMappingURL=FacesRatingBar.types.d.ts.map