feat: deal attributes editing

This commit is contained in:
2025-10-27 10:05:29 +04:00
parent e39df47520
commit d4c0eac4a0
13 changed files with 794 additions and 31 deletions

View File

@ -0,0 +1,31 @@
import React, { FC, PropsWithChildren } from "react";
import { motion } from "framer-motion";
import { Box, Tabs } from "@mantine/core";
type Props = {
value: string;
};
const DealEditorTabPanel: FC<PropsWithChildren<Props>> = ({
value,
children,
}) => {
return (
<Tabs.Panel
key={value}
value={value}>
<motion.div
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
transition={{ duration: 0.2 }}>
<Box
h={"100%"}
w={"100%"}>
{children}
</Box>
</motion.div>
</Tabs.Panel>
);
};
export default DealEditorTabPanel;