Ghost/ghost/members-auth-pages/components/CheckoutForm.js
Fabien O'Carroll 1bad6dee4e Fixed linting for auth-pages
no-issue
2019-05-07 17:15:50 +02:00

32 lines
718 B
JavaScript

import React, {Component} from 'react';
import {CardElement} from 'react-stripe-elements';
class CheckoutForm extends Component {
constructor(props) {
super(props);
}
render() {
let style = {
base: {
'::placeholder': {
color: '#8795A1',
fontSize: '15px'
}
},
invalid: {
'::placeholder': {
color: 'rgba(240, 82, 48, 0.75)'
}
}
};
return (
<div className="gm-form-element">
<CardElement style={ style } />
</div>
);
}
}
export default CheckoutForm;