recharts
Version:
React charts
11 lines (10 loc) • 627 B
TypeScript
import { SyntheticEvent } from 'react';
import { CategoricalChartFunc } from '../chart/types';
import { RechartsRootState } from './store';
type ExternalEventActionPayload = {
reactEvent: SyntheticEvent;
handler: CategoricalChartFunc | undefined;
};
export declare const externalEventAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<ExternalEventActionPayload, string>;
export declare const externalEventsMiddleware: import("@reduxjs/toolkit").ListenerMiddlewareInstance<RechartsRootState, import("@reduxjs/toolkit").ThunkDispatch<RechartsRootState, unknown, import("redux").AnyAction>, unknown>;
export {};