Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Feb 23, 2021
1 parent 8cf6477 commit 13ffe70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/components/modal/ModalUnstyled.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function ModalUnstyledDemo() {
return (
<div>
<button type="button" onClick={handleOpen}>
modal unstyled
Open modal
</button>
<StyledModal
aria-labelledby="unstyled-modal-title"
Expand All @@ -53,7 +53,7 @@ export default function ModalUnstyledDemo() {
BackdropComponent={Backdrop}
>
<Box sx={style}>
<h2 id="unstyled-modal-title">Open modal</h2>
<h2 id="unstyled-modal-title">Text in a modal</h2>
<p id="unstyled-modal-description">
Aliquid amet deserunt earum eos nihil officia porro, quasi quibusdam!
</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/modal/ModalUnstyled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function ModalUnstyledDemo() {
return (
<div>
<button type="button" onClick={handleOpen}>
modal unstyled
Open modal
</button>
<StyledModal
aria-labelledby="unstyled-modal-title"
Expand All @@ -53,7 +53,7 @@ export default function ModalUnstyledDemo() {
BackdropComponent={Backdrop}
>
<Box sx={style}>
<h2 id="unstyled-modal-title">Open modal</h2>
<h2 id="unstyled-modal-title">Text in a modal</h2>
<p id="unstyled-modal-description">
Aliquid amet deserunt earum eos nihil officia porro, quasi quibusdam!
</p>
Expand Down

0 comments on commit 13ffe70

Please sign in to comment.