1
0
REI-Fixed/app/javascript/mastodon/actions/dropdown_menu.ts

12 lines
269 B
TypeScript
Raw Normal View History

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',
);