Skip to content

Add DialogContext that exposes the close function #15

@haydn

Description

@haydn

This will eliminate the need for prop-drilling the close function every time the <DialogHeader> is used:

<DialogHeader close={close}>
  <Heading>Example</Heading>
</DialogHeader>

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