fixed flow errors on a few 'view.jsx' files and 'form-field.jsx'
This commit is contained in:
parent
0d0cc5bb00
commit
620d5f71fb
4 changed files with 5 additions and 4 deletions
|
@ -22,7 +22,7 @@ type Props = {
|
||||||
button: ?string, // primary, secondary, alt, link
|
button: ?string, // primary, secondary, alt, link
|
||||||
noPadding: ?boolean, // to remove padding and allow circular buttons
|
noPadding: ?boolean, // to remove padding and allow circular buttons
|
||||||
uppercase: ?boolean,
|
uppercase: ?boolean,
|
||||||
iconColor: ?string,
|
iconColor?: string,
|
||||||
tourniquet: ?boolean, // to shorten the button and ellipsis, only use for links
|
tourniquet: ?boolean, // to shorten the button and ellipsis, only use for links
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ class CardVerify extends React.Component {
|
||||||
|
|
||||||
const script = document.createElement('script');
|
const script = document.createElement('script');
|
||||||
script.src = 'https://checkout.stripe.com/checkout.js';
|
script.src = 'https://checkout.stripe.com/checkout.js';
|
||||||
script.async = 1;
|
script.async = true;
|
||||||
|
|
||||||
this.loadPromise = (() => {
|
this.loadPromise = (() => {
|
||||||
let canceled = false;
|
let canceled = false;
|
||||||
|
|
|
@ -13,6 +13,7 @@ type Props = {
|
||||||
claim: ?{
|
claim: ?{
|
||||||
claim_id: string,
|
claim_id: string,
|
||||||
name: string,
|
name: string,
|
||||||
|
permanent_url: string,
|
||||||
},
|
},
|
||||||
resolveUri: string => void,
|
resolveUri: string => void,
|
||||||
navigate: (string, ?{}) => void,
|
navigate: (string, ?{}) => void,
|
||||||
|
|
|
@ -25,7 +25,7 @@ type Props = {
|
||||||
affixClass?: string, // class applied to prefix/postfix label
|
affixClass?: string, // class applied to prefix/postfix label
|
||||||
firstInList?: boolean, // at the top of a list, no padding top
|
firstInList?: boolean, // at the top of a list, no padding top
|
||||||
autoFocus?: boolean,
|
autoFocus?: boolean,
|
||||||
inputProps: {
|
inputProps?: {
|
||||||
disabled?: boolean,
|
disabled?: boolean,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue