@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
20 lines (19 loc) • 531 B
JavaScript
"use client";
import Image$1 from "../../Image/index.mjs";
import { jsx } from "react/jsx-runtime";
//#region src/mdx/mdxComponents/Image.tsx
const Image = ({ style, alt = "img", ...rest }) => {
return /* @__PURE__ */ jsx(Image$1, {
alt,
style: {
borderRadius: "calc(var(--lobe-markdown-border-radius) * 1px)",
marginBlock: "calc(var(--lobe-markdown-margin-multiple) * 1em)",
...style
},
...rest
});
};
Image.displayName = "MdxImage";
//#endregion
export { Image as default };
//# sourceMappingURL=Image.mjs.map