From 04a4b0cfc9b8d82b68bc93032c655f5afa62a82e Mon Sep 17 00:00:00 2001 From: nflnkr <105123049+nflnkr@users.noreply.github.com> Date: Mon, 26 Dec 2022 12:58:58 +0300 Subject: [PATCH] add cards --- src/components/CreateQuiz/CardWithImage.tsx | 39 +++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/components/CreateQuiz/CardWithImage.tsx diff --git a/src/components/CreateQuiz/CardWithImage.tsx b/src/components/CreateQuiz/CardWithImage.tsx new file mode 100644 index 00000000..fb3f83f3 --- /dev/null +++ b/src/components/CreateQuiz/CardWithImage.tsx @@ -0,0 +1,39 @@ +import { Box, Typography, useTheme } from "@mui/material"; + + +interface Props { + image: string; + text: string; +} + +export default function CardWithImage({ image, text }: Props) { + const theme = useTheme(); + + return ( + + card + {text} + + ); +} \ No newline at end of file