UNPKG

@visactor/openinula-vchart

Version:

The openinula version of VChart 4.x

11 lines (10 loc) 440 B
import React from 'openinula'; export interface ContainerProps { style?: React.CSSProperties; className?: string; width?: number | string; height?: number | string; } export default function withContainer<Props extends ContainerProps, CompProps>(Comp: any, name?: string, getProps?: (props: any) => CompProps): React.ExoticComponent<React.PropsOmitRef<CompProps & Props>> & React.Attributes & { ref?: React.Ref<any>; };