@vime/react
Version:
React bindings for the Vime media player.
4 lines (3 loc) • 368 B
TypeScript
import { HTMLAttributes } from 'react';
export declare const define: (tagName: string, clazz: any) => void;
export declare function createComponent<T extends HTMLElement, P extends HTMLAttributes<any> = {}>(tagName: string, componentProps: Set<string>): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P> & import("react").RefAttributes<T>>;