@redux-devtools/chart-monitor
Version:
Chart monitor for Redux DevTools
10 lines (9 loc) • 385 B
TypeScript
import { Action } from 'redux';
import { ChartMonitorAction } from './actions';
import { ChartMonitorProps } from './ChartMonitor';
export interface ChartMonitorState {
isVisible?: boolean;
}
export default function reducer<S, A extends Action<string>>(props: ChartMonitorProps<S, A>, state: ChartMonitorState | undefined, action: ChartMonitorAction): {
isVisible: boolean;
};