From 9220bfedad0ebf6754ea554f93c5c537ac152617 Mon Sep 17 00:00:00 2001 From: RobertoMSousa Date: Wed, 13 Oct 2021 10:49:02 +0100 Subject: [PATCH] migrate donation (#43783) --- .../components/Donation/assets/ApplePay.js | 42 ----------- .../components/Donation/assets/ApplePay.tsx | 38 ++++++++++ .../components/Donation/assets/GooglePay.js | 73 ------------------- .../components/Donation/assets/GooglePay.tsx | 69 ++++++++++++++++++ 4 files changed, 107 insertions(+), 115 deletions(-) delete mode 100644 client/src/components/Donation/assets/ApplePay.js create mode 100644 client/src/components/Donation/assets/ApplePay.tsx delete mode 100644 client/src/components/Donation/assets/GooglePay.js create mode 100644 client/src/components/Donation/assets/GooglePay.tsx diff --git a/client/src/components/Donation/assets/ApplePay.js b/client/src/components/Donation/assets/ApplePay.js deleted file mode 100644 index 70d2427318..0000000000 --- a/client/src/components/Donation/assets/ApplePay.js +++ /dev/null @@ -1,42 +0,0 @@ -/* eslint-disable max-len */ -import React from 'react'; - -const propTypes = {}; - -function ApplePay(props) { - return ( - <> - Apple Pay Logo - - ApplePay-mark - - - - - - - - - - - - ); -} - -ApplePay.displayName = 'ApplePay'; -ApplePay.propTypes = propTypes; - -export default ApplePay; diff --git a/client/src/components/Donation/assets/ApplePay.tsx b/client/src/components/Donation/assets/ApplePay.tsx new file mode 100644 index 0000000000..3feec2a6ef --- /dev/null +++ b/client/src/components/Donation/assets/ApplePay.tsx @@ -0,0 +1,38 @@ +import React from 'react'; + +const ApplePay = ( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element => ( + <> + Apple Pay Logo + + ApplePay-mark + + + + + + + + + + + +); + +ApplePay.displayName = 'ApplePay'; + +export default ApplePay; diff --git a/client/src/components/Donation/assets/GooglePay.js b/client/src/components/Donation/assets/GooglePay.js deleted file mode 100644 index bbea2fe4e4..0000000000 --- a/client/src/components/Donation/assets/GooglePay.js +++ /dev/null @@ -1,73 +0,0 @@ -/* eslint-disable max-len */ -import React from 'react'; - -const propTypes = {}; - -function GooglePay(props) { - return ( - <> - Google Pay Logo - - GooglePay_mark - - - - - - - - - - - - - - - - - - ); -} - -GooglePay.displayName = 'GooglePay'; -GooglePay.propTypes = propTypes; - -export default GooglePay; diff --git a/client/src/components/Donation/assets/GooglePay.tsx b/client/src/components/Donation/assets/GooglePay.tsx new file mode 100644 index 0000000000..7d624b25ca --- /dev/null +++ b/client/src/components/Donation/assets/GooglePay.tsx @@ -0,0 +1,69 @@ +import React from 'react'; + +const GooglePay = ( + props: JSX.IntrinsicAttributes & React.SVGProps +): JSX.Element => ( + <> + Google Pay Logo + + GooglePay_mark + + + + + + + + + + + + + + + + + +); + +GooglePay.displayName = 'GooglePay'; + +export default GooglePay;