We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a970d6 + 5bd551a commit c6ded83Copy full SHA for c6ded83
src/renderers/image/index.tsx
@@ -2,12 +2,11 @@ import React from "react";
2
import styled from "styled-components";
3
import { DocRenderer } from "../..";
4
5
-const ImageProxyRenderer: DocRenderer = (props) => {
6
- const {
7
- mainState: { currentDocument },
8
- children,
9
- } = props;
10
-
+const ImageProxyRenderer: DocRenderer = ({
+ mainState: { currentDocument },
+ children,
+ ...props
+}) => {
11
if (!currentDocument) return null;
12
13
return (
0 commit comments