1 | import { Action } from 'redux';
|
2 | import { DockMonitorAction } from './actions';
|
3 | import { DockMonitorProps } from './DockMonitor';
|
4 | export interface DockMonitorState {
|
5 | position: 'left' | 'top' | 'right' | 'bottom';
|
6 | size: number;
|
7 | isVisible: boolean;
|
8 | childMonitorStates: unknown[];
|
9 | childMonitorIndex: number;
|
10 | }
|
11 | export default function reducer<S, A extends Action<unknown>>(props: DockMonitorProps<S, A>, state: Partial<DockMonitorState> | undefined, action: DockMonitorAction): DockMonitorState;
|