dgreene1 / react-accessible-treeview

A react component that implements the treeview pattern as described by the WAI-ARIA Authoring Practices.
https://dgreene1.github.io/react-accessible-treeview
MIT License
281 stars 39 forks source link

Add onKeyDown prop as part of the TS types #202

Open alexandrudanpop opened 7 hours ago

alexandrudanpop commented 7 hours ago

Describe the solution you'd like As a TypeScript user of the library I'd to be able to pass a custom onKeyDown event. This is currently possible, but we will get a TS error.

Additional context https://github.com/dgreene1/react-accessible-treeview/issues/144#issuecomment-2462885039

dgreene1 commented 6 hours ago

We’re open to volunteers and this is a great first issue.