UNPKG

@redux-devtools/chart-monitor

Version:
10 lines (9 loc) 385 B
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; };