@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
23 lines (20 loc) • 663 B
JavaScript
'use client';
import Block_default from "../Block/Block.mjs";
import { styles } from "./style.mjs";
import { jsx } from "react/jsx-runtime";
import { cx } from "antd-style";
//#region src/Skeleton/SkeletonBlock.tsx
const SkeletonBlock = ({ width = "100%", height = "1em", active, style, className }) => {
return /* @__PURE__ */ jsx(Block_default, {
className: cx(styles.base, active && styles.active, className),
height,
style,
variant: "filled",
width
});
};
SkeletonBlock.displayName = "SkeletonBlock";
var SkeletonBlock_default = SkeletonBlock;
//#endregion
export { SkeletonBlock_default as default };
//# sourceMappingURL=SkeletonBlock.mjs.map