UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

21 lines (20 loc) 743 B
import { jsx, jsxs } from "react/jsx-runtime"; import classnames from "classnames"; import { RatingIcons } from "./RatingIcons.js"; function Rating({ className, iconsClassName, children, ...iconsProps }) { return /*#__PURE__*/ jsxs("div", { className: classnames("cobalt-rating", className), children: [ /*#__PURE__*/ jsx(RatingIcons, { className: iconsClassName, ...iconsProps }), children ] }); } export { RatingCompact, formatRatingValue } from "./RatingCompact.js"; export { RatingInput } from "./RatingInput.js"; export { default as RatingLabel } from "./RatingLabel.js"; export { Rating, RatingIcons }; //# sourceMappingURL=index.js.map