Skip to content
This repository has been archived by the owner on Mar 27, 2021. It is now read-only.

Add import for PaymentRequestButtonElement in the example #330

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ result of `paymentRequest.canMakePayment` and pass the `PaymentRequest` Object
as a prop.

```jsx
import {PaymentRequestButtonElement} from 'react-stripe-elements';

class PaymentRequestForm extends React.Component {
constructor(props) {
super(props);
Expand Down