UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

11 lines (8 loc) 391 B
import { jsx } from 'react/jsx-runtime'; import cx from 'classnames'; const Note = ({ children, fullWidth = false, className, isError = false, }) => (jsx("div", { className: cx("cobalt-Note", className, { "cobalt-Note--fullWidth": fullWidth, "cobalt-Note--error": isError, }), children: children })); export { Note, Note as default }; //# sourceMappingURL=index.js.map