import { Box, Typography, useMediaQuery, useTheme } from "@mui/material"; interface Props { name: string; image: any; } export default function PaymentMethodCard({ name, image }: Props) { const theme = useTheme(); const upSm = useMediaQuery(theme.breakpoints.up("sm")); return ( payment method {name} ); }