@j2inn/app-react
Version:
React implementation of the j2inn-app framework
21 lines (20 loc) • 507 B
TypeScript
/// <reference types="react" />
/**
* The properties for the web component.
*/
interface WebComponentProps {
/**
* The registered web component name to load.
*/
name: string;
/**
* Any other property to be passed down to the web component.
*/
[prop: string]: unknown;
}
/**
* Renders a web component in a react component and passes
* down properties into the web component.
*/
export declare const WebComponent: (props: WebComponentProps) => JSX.Element;
export {};