hypothesis / hypothesis/frontend-shared
Evaluate using `CloseableContext` in other components than `Dialog`
Open
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.