@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
30 lines (27 loc) • 696 B
JavaScript
'use client';
import { variants } from "./style.mjs";
import { memo } from "react";
import { jsx } from "react/jsx-runtime";
import { Segmented } from "antd";
import { cx } from "antd-style";
//#region src/Segmented/Segmented.tsx
const Segmented$1 = memo(({ ref, padding, style, className, variant = "filled", shadow, glass, ...rest }) => {
return /* @__PURE__ */ jsx(Segmented, {
className: cx(variants({
glass,
shadow,
variant
}), className),
ref,
style: {
padding,
...style
},
...rest
});
});
Segmented$1.displayName = "Segmented";
var Segmented_default = Segmented$1;
//#endregion
export { Segmented_default as default };
//# sourceMappingURL=Segmented.mjs.map