@mankindui/core
Version:
- a react component library - you can see how @mankindui/core can be used via examples: [usage examples](https://github.com/clarklindev/mankindui-test)
17 lines (16 loc) • 908 B
JavaScript
import { j as t } from "../../_virtual/jsx-runtime.js";
import "../index.js";
import { Divider as s } from "../Divider/index.js";
const o = ({ className: e, children: r }) => /* @__PURE__ */ t.jsx("div", { className: ["border border-gray-400/50 rounded-lg min-h-auto mb-4", e].filter(Boolean).join(" "), children: r }), a = ({ children: e, className: r }) => /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col justify-center", children: [
/* @__PURE__ */ t.jsx("div", { className: ["text-xl py-2 px-2", r].filter(Boolean).join(" "), children: e }),
/* @__PURE__ */ t.jsx(s, {})
] }), i = ({ children: e, className: r }) => /* @__PURE__ */ t.jsx("div", { className: ["py-2 px-2", r].filter(Boolean).join(" "), children: e });
o.Title = a;
a.displayName = "Card.Title";
o.Content = i;
i.displayName = "Card.Content";
o.displayName = "Card";
export {
o as Card
};
//# sourceMappingURL=index.js.map