UNPKG

@visactor/react-vchart

Version:

The react version of VChart 4.x

10 lines (9 loc) 426 B
import React from 'react'; export interface ContainerProps { style?: React.CSSProperties; className?: string; width?: number | string; height?: number | string; id?: string; } export default function withContainer<P extends ContainerProps>(Comp: React.ComponentType<any>, name?: string, getProps?: (props: any) => any): React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<any>>;