Co-authored-by: tobi <tobi.smethurst@protonmail.com> Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/88 Co-authored-by: Zoë Bijl <moiety@noreply.codeberg.org> Co-committed-by: Zoë Bijl <moiety@noreply.codeberg.org>
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",
|
|
);
|