UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

18 lines (17 loc) 670 B
import { jsx, jsxs } from "react/jsx-runtime"; import classnames from "classnames"; const LayoutSectionTitle = ({ children, headerLink })=>/*#__PURE__*/ jsxs("h2", { className: classnames("cobalt-layout-section-title", { "cobalt-layout--hasHeaderLink": !!headerLink }), children: [ headerLink && /*#__PURE__*/ jsx("div", { className: "cobalt-layout-header-link", children: headerLink }), children ] }); const Components_LayoutSectionTitle = LayoutSectionTitle; export default Components_LayoutSectionTitle; //# sourceMappingURL=LayoutSectionTitle.js.map