-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
How about we add some doc to Modal window in this awesome library?
Here is my code, and this doesn't work: https://codesandbox.io/s/angry-sutherland-rzv2f?file=/src/App.js
Also pasting here:
const App = () => {
const [v, setV] = useState(false);
return (
<>
<Button
onClick={() => {
setV(true);
}}
>
open
</Button>
{console.log(v)}
{v && <Modal>test</Modal>}
</>
);
};
Metadata
Metadata
Assignees
Labels
No labels