mirror of
https://github.com/react/react.git
synced 2026-10-05 11:21:38 +08: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'.