reactify-wc
Version:
Wraps web components in React to allow usage and correct property passthrough
5 lines (4 loc) • 307 B
TypeScript
/// <reference types="react" />
import { Options } from "./types";
declare const reactifyWebComponent: <Props>(WC: string, { forceProperty, forceAttribute, forceEvent }?: Options) => import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
export default reactifyWebComponent;