mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-30 03:50:13 -05:00
919ed0e469
Port 4b7bc1f07c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
12 lines
269 B
TypeScript
12 lines
269 B
TypeScript
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',
|
|
);
|