~cytrogen/masto-fe

ref: dc35e2d7569a293bbda92ee3ecba8d2d4e6a7b64 masto-fe/app/javascript/flavours/glitch/actions/dropdown_menu.ts -rw-r--r-- 269 bytes
dc35e2d7 — Cytrogen Rename .scss → .css and remove sass dependency (Phase 9-10) a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
import { createAction } from "@reduxjs/toolkit";

export const openDropdownMenu = createAction<{
  id: string,
  keyboard: boolean,
  scrollKey: string,
}>("dropdownMenu/open");

export const closeDropdownMenu = createAction<{ id: string }>(
  "dropdownMenu/close",
);