mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
🤖 Merge PR #45451 Stripe-v3 StyleOptions update by @hartleyrobertson
This commit is contained in:
parent
7f6441aaf2
commit
af5c6d3adf
2
types/stripe-v3/index.d.ts
vendored
2
types/stripe-v3/index.d.ts
vendored
@ -16,6 +16,7 @@
|
||||
// Kevin Soltysiak <https://github.com/ksol>
|
||||
// Kohei Matsubara <https://github.com/matsuby>
|
||||
// Marko Kaznovac <https://github.com/kaznovac>
|
||||
// Hartley Robertson <https://github.com/hartleyrobertson>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare var Stripe: stripe.StripeStatic;
|
||||
@ -995,6 +996,7 @@ declare namespace stripe {
|
||||
|
||||
interface StyleOptions {
|
||||
color?: string;
|
||||
backgroundColor?: string;
|
||||
fontFamily?: string;
|
||||
fontSize?: string;
|
||||
fontSmoothing?: string;
|
||||
|
||||
@ -11,6 +11,9 @@ const style = {
|
||||
fontWeight: 'bold',
|
||||
'::placeholder': {
|
||||
color: '#aab7c4'
|
||||
},
|
||||
'::selection': {
|
||||
backgroundColor: '#aaccdd'
|
||||
}
|
||||
},
|
||||
invalid: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user