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