UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

24 lines (23 loc) 601 B
"use client"; import FlexBasic_default from "../Flex/FlexBasic.mjs"; import { variants } from "./style.mjs"; import { jsx } from "react/jsx-runtime"; import { cx } from "antd-style"; //#region src/Block/Block.tsx const Block = ({ className, variant = "filled", shadow, glass, children, clickable, ref, ...rest }) => { return /* @__PURE__ */ jsx(FlexBasic_default, { className: cx(variants({ clickable, glass, shadow, variant }), className), ref, ...rest, children }); }; Block.displayName = "Block"; //#endregion export { Block as default }; //# sourceMappingURL=Block.mjs.map