We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf3b441 commit bc311a4Copy full SHA for bc311a4
public/assets/user-manual/split-view/split-view.png
-232 KB
src/app/(docs)/[[...slug]]/page.tsx
@@ -29,10 +29,8 @@ export default async function Page(props: {
29
components={{
30
...defaultMdxComponents,
31
a: createRelativeLink(source, page),
32
- img: (props: React.ImgHTMLAttributes<HTMLImageElement>) => {
33
- const { src, ...rest } = props;
34
- if (typeof src !== "string") return null;
35
- return <ImageZoom src={src} {...rest} />;
+ img: (props) => {
+ return <ImageZoom {...props} />;
36
},
37
pre: (props) => (
38
<CodeBlock {...props}>
0 commit comments