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

Commit

Permalink
add ref type for superchart
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdotson committed Oct 18, 2021
1 parent 794e540 commit 2ab0707
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 2ab0707

Please sign in to comment.