import { Box, IconButton, Typography, useTheme } from "@mui/material"; import ChartIcon from "../assets/icons/ChartIcon"; import CustomButton from "./CustomButton"; import LinkIcon from "../assets/icons/LinkIcon"; import PencilIcon from "../assets/icons/PencilIcon"; import MoreHorizIcon from "@mui/icons-material/MoreHoriz"; interface Props { name: string; openCount?: number; applicationCount?: number; conversionPercent?: number; } export default function QuizCard({ name, openCount = 0, applicationCount = 0, conversionPercent = 0 }: Props) { const theme = useTheme(); return ( {name} быстрая ссылка ... {openCount} Открытий {openCount} Заявок {openCount} % Конверсия Заявки } sx={{ borderColor: theme.palette.brightPurple.main, color: theme.palette.brightPurple.main, px: "21px", py: "9px", width: "auto", "& .MuiButton-startIcon": { mr: "4px", } }} > Редактировать } sx={{ borderColor: theme.palette.brightPurple.main, color: theme.palette.brightPurple.main, p: "9px", width: "auto", minWidth: 0, "& .MuiButton-startIcon": { mr: 0, ml: 0, } }} /> ); }