mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
3af05de1aa
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'.