import * as React from "react"; import { ITestingProps, PluginProps } from "./types"; import { ComponentTypes } from "../types"; export const Testing: React.FC = ({ properties = {}, testId = "", }) => { return (
Testing Testing 123456
); }; const TestingPluginComponent: React.FC = ({ settings }) => { return ; }; export const onComponentRender = (hook, payload, actions) => { if (hook.if === "webcomponent" && payload.type === ComponentTypes.TESTING) { return [TestingPluginComponent]; } };