/* Copyright 2026 Marimo. All rights reserved. */ import type { JSX } from "react"; import type { IPlugin } from "./types"; export interface IStatelessPluginProps { /** * Host element. */ host: HTMLElement; /** * Plugin data. */ data: D; /** * Children elements. */ children?: React.ReactNode | undefined; } export interface IStatelessPlugin extends Omit< IPlugin, "render" | "functions" > { /** * Render the plugin. */ render(props: IStatelessPluginProps): JSX.Element; }