"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();
