import { CommonProps, DimensionStyleProps, SpaceStyleProps } from "../../theme"; import { OpaqueColorName, ViewWithValue } from "../../types"; import * as React from "react"; import { Icon } from "../icons/generic"; export type ViewRatingProps = ViewWithValue & SpaceStyleProps & DimensionStyleProps & CommonProps & { /** Forwarded to the wrapping `` element. */ ref?: React.Ref; /** Number of stars to display. Default to 5. */ max?: number; /** Defaukts to `false`. */ readOnly?: boolean; icon?: Icon; color?: OpaqueColorName; /** * The filling color in edit mode (`readOnly === false`) * can be different to `color`. */ colorEdit?: OpaqueColorName; /** * The ouline of the star has always an opacity of 1, * but the fill is 1 for readOnly and 0.8 for non-readOnly, * by default. */ fillOpacity?: number; name?: string; label?: React.ReactNode; }; export declare function ViewRating(props: ViewRatingProps): React.JSX.Element; //# sourceMappingURL=Rating.d.ts.map