"use client";

import React from "react";
import { AutoRegisteringComponentRenderer } from "../../AutoRegisteringComponentRenderer";
import { V2WebViewDefinition } from "./index";
import { V2WebViewComponent } from "./V2WebViewComponent";

export class V2WebViewRenderer extends AutoRegisteringComponentRenderer {
  static componentDefinition = V2WebViewDefinition;

  render(): React.ReactElement {
    return <V2WebViewComponent {...this.props} renderer={this} />;
  }
}

V2WebViewRenderer.registerSelf();
