@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
19 lines (18 loc) • 553 B
JavaScript
"use client";
import { dividerStyles } from "../style.mjs";
import { jsx } from "react/jsx-runtime";
import { cx } from "antd-style";
//#region src/base-ui/Form/components/FormDivider.tsx
const FormDivider = ({ visible = true, style, className, ...rest }) => /* @__PURE__ */ jsx("div", {
className: cx(dividerStyles.root, className),
role: "separator",
style: {
opacity: visible ? .66 : 0,
...style
},
...rest
});
FormDivider.displayName = "FormDivider";
//#endregion
export { FormDivider as default };
//# sourceMappingURL=FormDivider.mjs.map