@visactor/react-vchart
Version:
The react version of VChart 4.x
11 lines (10 loc) • 420 B
TypeScript
import React from 'react';
export interface BaseComponentProps {
id?: string | number;
}
type ComponentProps = BaseComponentProps & {
updateId?: number;
componentId?: number;
};
export declare const createComponent: <T extends ComponentProps>(componentName: string, specName: string, supportedEvents?: Record<string, string> | null, isSingle?: boolean, registers?: (() => void)[]) => React.FC<T>;
export {};