UNPKG

@ultraviolet/plus

Version:
31 lines (30 loc) 919 B
declare const ratings: readonly [{ readonly value: 1; readonly imgSelected: string; readonly imgNotSelected: string; }, { readonly value: 2; readonly imgSelected: string; readonly imgNotSelected: string; }, { readonly value: 3; readonly imgSelected: string; readonly imgNotSelected: string; }, { readonly value: 4; readonly imgSelected: string; readonly imgNotSelected: string; }, { readonly value: 5; readonly imgSelected: string; readonly imgNotSelected: string; }]; type Value = (typeof ratings)[number]['value']; type CustomerSatisfactionProps = { value: Value; onChange: (rating: Value) => void; 'data-testid'?: string; className?: string; }; export declare const CustomerSatisfaction: ({ value, onChange, "data-testid": dataTestId, className, }: CustomerSatisfactionProps) => import("@emotion/react/jsx-runtime").JSX.Element; export {};