mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 07:51:55 +03:00
19f243aed1
no issue - Updated members auth flow UI - Updated members settings and routing to be dynamic
32 lines
722 B
JavaScript
32 lines
722 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;
|