move iframe width/height props to constants in MarkdownRenderer

This commit is contained in:
James Fenn
2022-01-21 11:30:37 -05:00
parent a55136de1a
commit a857557c78
11 changed files with 93 additions and 78 deletions

View File

@@ -78,7 +78,7 @@ ReactDOM.createRoot(rootElement).render(
When finished, you should be able to verify the version of React youre using with `{React.version}`
<iframe src="https://app.coderpad.io/sandbox?question_id=200107" width="704" height="500" loading="lazy"></iframe>
<iframe src="https://app.coderpad.io/sandbox?question_id=200107" loading="lazy"></iframe>
## Conclusion