import { FC } from "react";
import { DealSchema } from "@/lib/client";
import { FulfillmentBaseContextProvider } from "@/modules/dealModularEditorTabs/FulfillmentBase/shared/contexts/FulfillmentBaseContext";
import DealServicesTable from "@/modules/dealModularEditorTabs/FulfillmentBase/mobile/components/DealServiceTable/DealServicesTable";

type Props = {
    value: DealSchema;
};

const CommonServicesTab: FC<Props> = ({ value }) => {
    return (
        <FulfillmentBaseContextProvider deal={value}>
            <DealServicesTable />
        </FulfillmentBaseContextProvider>
    );
};

export default CommonServicesTab;
