import AttributesEditor from "@/components/ui/AttributesEditor/AttributesEditor";
import { useFulfillmentBaseContext } from "@/modules/dealModularEditorTabs/FulfillmentBase/shared/contexts/FulfillmentBaseContext";
import MODULES, { ModuleNames } from "@/modules/modules";

const FulfillmentAttributesEditor = () => {
    const { deal } = useFulfillmentBaseContext();

    return (
        <AttributesEditor
            moduleId={MODULES[ModuleNames.FULFILLMENT_BASE].info.id}
            deal={deal}
            attributesInTwoColumns
            buttonStyle={{ width: "100%" }}
        />
    );
};

export default FulfillmentAttributesEditor;
