mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Give elementRef an argument
In order to support doing things like clearing card input fields. See: https://github.com/stripe/react-stripe-elements/issues/26
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ export namespace ReactStripeElements {
|
||||
|
||||
className?: string;
|
||||
|
||||
elementRef?(): void;
|
||||
elementRef?(ref: any): void;
|
||||
|
||||
onChange?(event: ElementChangeResponse): void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user