1 import paypalSvg from '@proton/styles/assets/img/bank-icons/paypal-color.svg';
2 import clsx from '@proton/utils/clsx';
4 import type { PayPalButtonProps } from './PayPalButton';
5 import PayPalButton from './PayPalButton';
7 import './StyledPayPalButton.scss';
9 type Omitted = 'children' | 'shape' | 'color' | 'icon';
10 type Props = Omit<PayPalButtonProps, Omitted>;
12 const StyledPayPalButton = ({ className, ...rest }: Props) => {
13 const payPalButtonClassName = clsx(['paypal-button', className]);
16 <PayPalButton {...rest} className={payPalButtonClassName} color="norm">
17 <img src={paypalSvg} alt="PayPal" width="50" />
22 export default StyledPayPalButton;