Skip to content

Add useKeyPress hook for keyboard event handling#359

Open
abhichaurasiya2022 wants to merge 1 commit intouidotdev:mainfrom
abhichaurasiya2022:abhishek/add-useKeyPress
Open

Add useKeyPress hook for keyboard event handling#359
abhichaurasiya2022 wants to merge 1 commit intouidotdev:mainfrom
abhichaurasiya2022:abhishek/add-useKeyPress

Conversation

@abhichaurasiya2022
Copy link

This PR solves #339.

The new useKeyPress hook is now implemented and exported from @uidotdev/usehooks, so importing useKeyPress as shown in https://usehooks.com/usekeypress now works and TypeScript recognizes it, solving the reported problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant