mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-29 12:33:42 +01:00
11 lines
269 B
TypeScript
11 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',
|
|
);
|