From 37d658df188cdc73ebe94c710cdbe7d96f4c5aed Mon Sep 17 00:00:00 2001 From: Thomas Chia Date: Sat, 3 Mar 2018 16:55:29 +0800 Subject: [PATCH] [react-stripe-elements] - allow id prop to be passed to *Element components. --- types/react-stripe-elements/index.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/types/react-stripe-elements/index.d.ts b/types/react-stripe-elements/index.d.ts index 23389a9df9..56f0f3c33a 100644 --- a/types/react-stripe-elements/index.d.ts +++ b/types/react-stripe-elements/index.d.ts @@ -1,9 +1,10 @@ -// Type definitions for react-stripe-elements 1.0 +// Type definitions for react-stripe-elements 1.1 // Project: https://github.com/stripe/react-stripe-elements#readme // Definitions by: dan-j // Santiago Doldan // sonnysangha // Andrew Goh Yisheng +// Thomas Chia // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.6 @@ -42,6 +43,8 @@ export namespace ReactStripeElements { } interface ElementProps extends ElementsOptions { + id?: string; + className?: string; elementRef?(): void;