import styled from 'styled-components'; import React from 'react'; import { Classes, Popover, PopoverInteractionKind, Position, } from '@blueprintjs/core'; import { Stack } from '@/components'; import { PaymentMethodSelectField } from './PaymentMethodSelect'; interface PaymentOptionsButtonPopverProps { paymentMethods: Array; children: React.ReactNode; } export function PaymentOptionsButtonPopver({ paymentMethods, children, }: PaymentOptionsButtonPopverProps) { return ( Payment Options {paymentMethods?.map((service, key) => ( ))} } > {children} ); } const PaymentMethodsTitle = styled('h6')` font-size: 12px; font-weight: 500; margin: 0; color: rgb(95, 107, 124); `;