~cytrogen/masto-fe

ref: 5c79cd6cf732c348b3cf63e9e6c79d189e42d08d masto-fe/app/javascript/flavours/glitch/actions/dropdown_menu.ts -rw-r--r-- 269 bytes
5c79cd6c — Cytrogen [chore] Add .gstack/ to gitignore 5 days 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",
);