UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

26 lines (25 loc) 989 B
import { jsx, jsxs } from "react/jsx-runtime"; import classnames from "classnames"; const MarketingNote = ({ children, title, icon, className, variant, compact = false })=>/*#__PURE__*/ jsxs("div", { className: classnames(`cobalt-marketing-note cobalt-marketing-note--${variant}`, className, { "cobalt-marketing-note--compact": compact }), children: [ icon && /*#__PURE__*/ jsx("div", { className: "cobalt-marketing-note__icon-container", children: icon }), /*#__PURE__*/ jsxs("div", { className: "cobalt-marketing-note__content", children: [ title && /*#__PURE__*/ jsx("div", { className: "c-font-bold", children: title }), children ] }) ] }); export { MarketingNote }; //# sourceMappingURL=index.js.map