logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

dropdown_menu.js (308B)


  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. }