We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dccdb8 commit 478e70aCopy full SHA for 478e70a
src/types/index.ts
@@ -16,12 +16,12 @@ export interface ElementProps {
16
/**
17
* Triggered when the Element loses focus.
18
*/
19
- onBlur?: () => any;
+ onBlur?: (event: {elementType: stripeJs.StripeElementType}) => any;
20
21
22
* Triggered when the Element receives focus.
23
24
- onFocus?: () => any;
+ onFocus?: (event: {elementType: stripeJs.StripeElementType}) => any;
25
}
26
27
export interface AuBankAccountElementProps extends ElementProps {
0 commit comments