Skip to content

Commit 127470e

Browse files
committed
chore: remove test file
1 parent 1601148 commit 127470e

File tree

5 files changed

+13
-74
lines changed

5 files changed

+13
-74
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/custom.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/components/Output/index.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const Output = ({ text }: { text: string }) => {
2+
return <div>{text}</div>
3+
}
4+
5+
export default Output

src/components/Preview/index.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,14 @@ const Preview: React.FC<Props> = ({ value }) => {
6969
}, [value])
7070

7171
return (
72-
<iframe
73-
ref={iframeRef}
74-
title="preview"
75-
style={{ width: "100%", height: "100%", border: "none" }}
76-
sandbox="allow-forms allow-modals allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-top-navigation-by-user-activation"
77-
/>
72+
<div className="react-repl-iframe-container">
73+
<iframe
74+
ref={iframeRef}
75+
title="preview"
76+
style={{ width: "100%", height: "100%", border: "none" }}
77+
sandbox="allow-forms allow-modals allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-top-navigation-by-user-activation"
78+
/>
79+
</div>
7880
)
7981
}
8082

0 commit comments

Comments
 (0)