UNPKG

@smitch/fluid

Version:

A Next/React ui-component libray.

8 lines (7 loc) 506 B
import { jsx as _jsx } from "react/jsx-runtime"; import { twMerge } from 'tailwind-merge'; var CardHeader = function (_a) { var _b = _a.className, className = _b === void 0 ? '' : _b, title = _a.title, _c = _a.titlestyles, titlestyles = _c === void 0 ? '' : _c; return (_jsx("header", { className: twMerge("card-header p-0", className), children: _jsx("h4", { className: twMerge("card-title font-bold opacity-80 capitalize mb-2", titlestyles), children: title }) })); }; export default CardHeader;