@adobe/react-spectrum-charts
Version:
Declarative library for composing Spectrum visualizations in React.
10 lines • 428 B
TypeScript
import { RefObject, Ref } from 'react';
import { View } from 'vega';
import { ChartHandle } from '@spectrum-charts/vega-spec-builder';
interface ChartImperativeHandleProps {
chartView: RefObject<View | undefined>;
title?: string;
}
export default function useChartImperativeHandle(forwardedRef: Ref<ChartHandle>, props: ChartImperativeHandleProps): void;
export {};
//# sourceMappingURL=useChartImperativeHandle.d.ts.map