import { bem } from '@/utils/bem' import type { IPaymentMethod } from '@/features/payment-methods/types' import PaymentMethodComponent from '@/features/payment-methods/PaymentMethod/PaymentMethod' import './PaymentMethodsList.scss' const block = 'payment-methods-list' interface IPaymentMethodsListProps { methods: IPaymentMethod[]; onMethodSelect?: (method: IPaymentMethod) => void; } function PaymentMethodsList({ methods, onMethodSelect }: IPaymentMethodsListProps) { return (