Skip to content

Commit

Permalink
fix: accessibleOnClick event type
Browse files Browse the repository at this point in the history
  • Loading branch information
receter committed Oct 7, 2024
1 parent fd9e7d7 commit 485dab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/lib/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function filterKeyEsc(handler: (e: React.KeyboardEvent) => void) {
}

export function accessibleOnClick(
handler: (e: React.KeyboardEvent) => void,
handler: (e: React.KeyboardEvent | React.MouseEvent) => void,
tabIndex?: number
) {
return {
Expand Down

0 comments on commit 485dab2

Please sign in to comment.