UNPKG

@hhgtech/hhg-components

Version:
24 lines (23 loc) 569 B
/// <reference types="react" /> export type TRatingStarsInputProps = { value: number; max?: number; onChange?: (value: number) => void; readOnly?: boolean; name?: string; id?: string; label?: string | React.ReactNode; error?: string; }; export type TRatingStarsProps = { value: number; max?: number; onChange?: (value: number) => void; readOnly?: boolean; }; export type TStarProps = { filled: boolean; onClick?: () => void; onMouseEnter?: () => void; onMouseLeave?: () => void; };