@drivy/cobalt
Version:
Opinionated design system for Drivy's projects.
10 lines (9 loc) • 431 B
TypeScript
import React from "react";
import { RatingIconsPropsType } from "./RatingIcons";
type RatingCompactPropsType = Pick<RatingIconsPropsType, "className" | "value" | "size"> & {
icon?: JSX.Element;
count?: number;
};
export declare function formatRatingValue(value: number): string | number;
export declare function RatingCompact({ className, value, count, size, icon, }: RatingCompactPropsType): React.JSX.Element;
export {};