mirror of
https://github.com/facebook/react.git
synced 2026-02-23 20:23:02 +00:00
This implements 'usePress' in user-space as a combination of 'useKeyboard' and 'useTap'. The existing 'usePress' API is preserved for now. The previous 'usePress' implementation is moved to 'PressLegacy'.