mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 00:08:46 +00:00
Port 22d33244ee to glitch-soc
Co-authored-by: Echo <ChaosExAnima@users.noreply.github.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
12 lines
270 B
TypeScript
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',
|
|
);
|