UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

21 lines (20 loc) 689 B
import { jsx, jsxs } from "react/jsx-runtime"; import { UserShieldIcon } from "../Icon/index.js"; const Notice = ({ withIcon = false, children })=>/*#__PURE__*/ jsxs("div", { className: "cobalt-notice", children: [ withIcon && /*#__PURE__*/ jsx("div", { children: /*#__PURE__*/ jsx(UserShieldIcon, { size: 20 }) }), /*#__PURE__*/ jsx("div", { className: "cobalt-notice__content", children: children }) ] }); const components_Notice = Notice; export default components_Notice; export { Notice }; //# sourceMappingURL=index.js.map