Skip to content

Commit

Permalink
add iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
kolibril13 committed Jan 22, 2024
1 parent 8476e80 commit a9b924a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,19 @@ export default function App() {
height: "100vh",
}}
>
<div style={{ width: 500, height: 500 }}>
{/* Tldraw Component */}
<div style={{ width: 500, height: 500, marginRight: '10px' }}>
<Tldraw></Tldraw>
</div>

{/* Iframe Component */}
<div style={{ flex: 1 }}>
<iframe
src="https://jupyterlite.github.io/xeus-python-demo/repl"
style={{ width: '100%', height: '100%' }}
title="Your Iframe Title"
></iframe>
</div>
</div>
);
}
}

0 comments on commit a9b924a

Please sign in to comment.