UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

12 lines (11 loc) 629 B
import type React from "react"; import { formatRatingValue, RatingCompact } from "./RatingCompact"; import { RatingIcons, type RatingIconsPropsType } from "./RatingIcons"; import { RatingInput } from "./RatingInput"; import RatingLabel from "./RatingLabel"; type RatingPropsType = RatingIconsPropsType & { children?: React.ReactNode; iconsClassName?: RatingIconsPropsType["className"]; }; declare function Rating({ className, iconsClassName, children, ...iconsProps }: RatingPropsType): import("react/jsx-runtime").JSX.Element; export { Rating, RatingLabel, RatingInput, RatingCompact, RatingIcons, formatRatingValue, };