File size: 441 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import {
	LAYOUT_FOCUS_SET,
	LAYOUT_NEXT_FOCUS_SET,
	LAYOUT_NEXT_FOCUS_ACTIVATE,
} from 'calypso/state/action-types';

import 'calypso/state/ui/init';

export function setLayoutFocus( area ) {
	return {
		type: LAYOUT_FOCUS_SET,
		area,
	};
}

export function setNextLayoutFocus( area ) {
	return {
		type: LAYOUT_NEXT_FOCUS_SET,
		area,
	};
}

export function activateNextLayoutFocus() {
	return {
		type: LAYOUT_NEXT_FOCUS_ACTIVATE,
	};
}