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

type Props = {
    value: DealSchema;
};

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

export default FulfillmentBaseTab;
