We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cf3b441 + bc311a4 commit 2f4f30aCopy full SHA for 2f4f30a
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