Merge pull request #24054 from thchia/react-stripe-element

[react-stripe-elements] - Allow id prop in ElementProps
This commit is contained in:
Armando Aguirre
2018-03-05 15:01:50 -08:00
committed by GitHub

View File

@@ -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 <https://github.com/dan-j>
// Santiago Doldan <https://github.com/santiagodoldan>
// sonnysangha <https://github.com/sonnysangha>
// Andrew Goh Yisheng <https://github.com/9y5>
// Thomas Chia <https://github.com/thchia>
// 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;