You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
308 B

  1. export const DROPDOWN_MENU_OPEN = 'DROPDOWN_MENU_OPEN';
  2. export const DROPDOWN_MENU_CLOSE = 'DROPDOWN_MENU_CLOSE';
  3. export function openDropdownMenu(id, placement) {
  4. return { type: DROPDOWN_MENU_OPEN, id, placement };
  5. }
  6. export function closeDropdownMenu(id) {
  7. return { type: DROPDOWN_MENU_CLOSE, id };
  8. }