adminFront/src/pages/dashboard/Content/PromocodeManagement/index.tsx
2024-02-22 17:12:50 +03:00

31 lines
891 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { Typography } from "@mui/material";
import { LocalizationProvider } from "@mui/x-date-pickers/LocalizationProvider";
import { AdapterDayjs } from "@mui/x-date-pickers/AdapterDayjs";
import { PromocodesList } from "./PromocodesList";
import { CreatePromocodeForm } from "./CreatePromocodeForm";
import theme from "@root/theme";
export const PromocodeManagement = () => (
<LocalizationProvider dateAdapter={AdapterDayjs}>
<Typography
variant="subtitle1"
sx={{
width: "90%",
height: "60px",
display: "flex",
flexDirection: "column",
justifyContent: "center",
alignItems: "center",
textTransform: "uppercase",
color: theme.palette.secondary.main,
}}
>
Создание промокода
</Typography>
<CreatePromocodeForm />
<PromocodesList />
</LocalizationProvider>
);