hypothesis / hypothesis/frontend-shared

Evaluate using `CloseableContext` in other components than `Dialog`

Open
#1,179 0 comments 0 reactions 0 assignees View on GitHub
needs a think
Dominant language
TypeScript
Stars
8
Forks
5
PR merge metrics
No merged PRs in 30d

Description

https://github.com/hypothesis/frontend-shared/releases/tag/v6.5.0 adds a `CloseableContext` to the `Dialog` component, which allows nested components to access a close handler. We might consider adding a `CloseableContext` to other components that are inherently "close-able", such as `Panel` or `ModalDialog`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.