Skip to content

Commit

Permalink
Test: add iframe to Modal component
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored and stokesman committed Oct 5, 2023
1 parent 35ab7cc commit 6502514
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/components/src/modal/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ const Template: StoryFn< typeof Modal > = ( { onRequestClose, ...args } ) => {

<InputControl style={ { marginBottom: '20px' } } />

<iframe
title="Example"
width="300"
height="200"
src="https://www.openstreetmap.org/export/embed.html?bbox=-0.004017949104309083%2C51.47612752641776%2C0.00030577182769775396%2C51.478569861898606&layer=mapnik"
/>

<Button variant="secondary" onClick={ closeModal }>
Close Modal
</Button>
Expand Down

0 comments on commit 6502514

Please sign in to comment.