Eugen Rochko 4cb9d6b333 [Glitch] Refactor <Dropdown> into TypeScript
Port 22d33244ee63b310f4572952cd2cc8a1bc3c573b to glitch-soc

Co-authored-by: Echo <ChaosExAnima@users.noreply.github.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-04-10 17:19:49 +02:00

12 lines
270 B
TypeScript

import { createAction } from '@reduxjs/toolkit';
export const openDropdownMenu = createAction<{
id: number;
keyboard: boolean;
scrollKey?: string;
}>('dropdownMenu/open');
export const closeDropdownMenu = createAction<{ id: number }>(
'dropdownMenu/close',
);