Skip to content

Commit 5337002

Browse files
committed
chore: Add forward ref to all relevant components (#1294)
1 parent d98251e commit 5337002

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/preview/src/preview.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export const Preview = React.forwardRef<
1616
text = text.substr(0, PREVIEW_MAX_LENGTH);
1717
return (
1818
<div
19+
ref={ref}
1920
style={{
2021
display: "none",
2122
overflow: "hidden",

0 commit comments

Comments
 (0)