@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
20 lines (19 loc) • 606 B
JavaScript
"use client";
import { styles } from "./style.mjs";
import { jsx } from "react/jsx-runtime";
import { cx } from "antd-style";
//#region src/base-ui/Skeleton/Skeleton.tsx
const Skeleton = ({ animated = true, width = "100%", height = "1em", radius, className, style, ...rest }) => /* @__PURE__ */ jsx("div", {
style: {
borderRadius: radius,
height,
width,
...style
},
className: cx(styles.base, animated && styles[animated === true ? "fade" : animated], className),
...rest
});
Skeleton.displayName = "Skeleton";
//#endregion
export { Skeleton as default };
//# sourceMappingURL=Skeleton.mjs.map