2018-03-30 06:45:23 -04:00
|
|
|
export const DROPDOWN_MENU_OPEN = 'DROPDOWN_MENU_OPEN';
|
|
|
|
export const DROPDOWN_MENU_CLOSE = 'DROPDOWN_MENU_CLOSE';
|
|
|
|
|
2018-09-11 16:35:17 -04:00
|
|
|
export function openDropdownMenu(id, placement, keyboard) {
|
|
|
|
return { type: DROPDOWN_MENU_OPEN, id, placement, keyboard };
|
2018-03-30 06:45:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
export function closeDropdownMenu(id) {
|
|
|
|
return { type: DROPDOWN_MENU_CLOSE, id };
|
|
|
|
}
|