Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

chore: add ref type for superchart #1411

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { ReactNode } from 'react';
import React, { ReactNode, RefObject } from 'react';
import ErrorBoundary, { ErrorBoundaryProps, FallbackProps } from 'react-error-boundary';
import { ParentSize } from '@vx/responsive';
import { createSelector } from 'reselect';
Expand Down Expand Up @@ -39,6 +39,8 @@ export type Props = Omit<SuperChartCoreProps, 'chartProps'> &
onErrorBoundary?: ErrorBoundaryProps['onError'];
/** Prop for form plugins uisng superchart */
showOverflow?: boolean;
/** Prop for popovercontainer ref */
parentRef?: RefObject<any>;
/** Chart width */
height?: number | string;
/** Chart height */
Expand Down