ERP-node/frontend/lib/registry/components/v2-shipping-plan-editor/ShippingPlanEditorRenderer.tsx

17 lines
559 B
TypeScript
Raw Normal View History

"use client";
import React from "react";
import { AutoRegisteringComponentRenderer } from "../../AutoRegisteringComponentRenderer";
import { V2ShippingPlanEditorDefinition } from "./index";
import { ShippingPlanEditorComponent } from "./ShippingPlanEditorComponent";
export class ShippingPlanEditorRenderer extends AutoRegisteringComponentRenderer {
static componentDefinition = V2ShippingPlanEditorDefinition;
render(): React.ReactElement {
return <ShippingPlanEditorComponent {...this.props} />;
}
}
ShippingPlanEditorRenderer.registerSelf();