Skip to content

Bug Report + Doc Request: Modal #13

@maifeeulasad

Description

@maifeeulasad

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions