From aa3a91923face8cd36d18db8ad5c8a666195ba02 Mon Sep 17 00:00:00 2001 From: Josh Chorlton Date: Sun, 10 Mar 2019 18:25:39 -0700 Subject: [PATCH] Add import for PaymentRequestButtonElement in the example --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index fa6b0ee..1298d26 100644 --- a/README.md +++ b/README.md @@ -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);