diff --git a/packages/core-data/src/components/Modal.js b/packages/core-data/src/components/Modal.js index 93cd2cf8..6b53c82e 100644 --- a/packages/core-data/src/components/Modal.js +++ b/packages/core-data/src/components/Modal.js @@ -61,7 +61,7 @@ const Modal = (props: Props) => { > { ); }; + +export const InModal = () => { + const [open, setOpen] = useState(false); + + return ( + +
+ +
+ { open && ( + setOpen(false)} + /> + )} +
+ ); +};