Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create hooks for Focus Trap and ESC listener and use in Modal,… (#351)
Scope of this change: Extract out a hook for the ESC handler Extract out a hook for focus trapping Use them in Popover, Tooltip and ModalCurtain Convert ModalCurtain to a function component with hooks in order to allow it to use the new hooks Extract out some Tooltip logic into a function component to use the hooks.
- Loading branch information