mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-07 08:58:49 +08:00
[react-stripe-elements] - allow id prop to be passed to *Element components.
This commit is contained in:
5
types/react-stripe-elements/index.d.ts
vendored
5
types/react-stripe-elements/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user