mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
7d826c4b44
no issue * Added new subscribe page with stripe integration
19 lines
323 B
JavaScript
19 lines
323 B
JavaScript
import React, {Component} from 'react';
|
|
import {CardElement} from 'react-stripe-elements';
|
|
|
|
class CheckoutForm extends Component {
|
|
constructor(props) {
|
|
super(props);
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<div className="gm-form-element">
|
|
<CardElement />
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default CheckoutForm;
|