import React from 'react'; import { CreditCard } from 'lucide-react'; interface PaymentMethodSelectorProps { value: 'cash' | 'stripe'; onChange: (value: 'cash' | 'stripe') => void; error?: string; disabled?: boolean; } const PaymentMethodSelector: React.FC< PaymentMethodSelectorProps > = ({ value, onChange, error, disabled = false }) => { return (

Payment Method *

{} {}
{error && (

{error}

)} {}

💡 Note: {' '} {value === 'cash' ? 'You will pay when checking in. Cash and card accepted at the hotel.' : 'Your payment will be processed securely through Stripe.'}

); }; export default PaymentMethodSelector;