~cytrogen/masto-fe

ref: 5919d6326cde190ed55da7339694173fbf35aa72 masto-fe/app/javascript/flavours/glitch/actions/dropdown_menu.ts -rw-r--r-- 269 bytes
5919d632 — Ittihadyya Add settings for confirmation dialogs within "General Settings" and add localization for english 6 months 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',
);