elementz icon indicating copy to clipboard operation
elementz copied to clipboard

Bug Report + Doc Request: Modal

Open maifeeulasad opened this issue 4 years ago • 0 comments

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>}
    </>
  );
};

maifeeulasad avatar Dec 29 '21 18:12 maifeeulasad