-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(PinInput): form support #1686
Conversation
Preview is ready. |
Visual Tests Report is ready. |
src/components/types.ts
Outdated
@@ -90,3 +90,10 @@ export interface AriaLabelingProps { | |||
*/ | |||
'aria-details'?: string; | |||
} | |||
|
|||
export interface FocusEvents<Target = Element> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export interface FocusEvents<Target = Element> { | |
export interface FocusEventHandlers<Target = Element> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But these are events, and handlers are callbacks that you pass to those events.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
event is an argument of those handler, see how React named those callbacks: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts#L2348
No description provided.