import { Button, Typography, useMediaQuery, useTheme } from "@mui/material"; interface Props { name: string; image: string; isSelected?: boolean; onClick: () => void; } export default function PaymentMethodCard({ name, image, isSelected, onClick }: Props) { const theme = useTheme(); const upSm = useMediaQuery(theme.breakpoints.up("sm")); return ( ); }