Skip to content

Commit

Permalink
Update packages/react/src/components/Modal/Modal.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Tobias Barsnes <[email protected]>
  • Loading branch information
eirikbacker and Barsnes authored Sep 24, 2024
1 parent 38166cd commit ca6adbe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/react/src/components/Modal/Modal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const modalRef = useRef<HTMLDialogElement>(null);

<Button onClick={() => modalRef.current?.showModal()}>Open Modal</Button>
<Modal ref={modalRef} >
<Heading size="xs">Header</Heading>
Content
</Modal>
```
Expand Down

0 comments on commit ca6adbe

Please sign in to comment.