mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-04 01:13:43 +01:00
11 lines
330 B
TypeScript
11 lines
330 B
TypeScript
|
import { createAction } from '@reduxjs/toolkit';
|
||
|
|
||
|
export const focusApp = createAction('APP_FOCUS');
|
||
|
export const unfocusApp = createAction('APP_UNFOCUS');
|
||
|
|
||
|
type ChangeLayoutPayload = {
|
||
|
layout: 'mobile' | 'single-column' | 'multi-column';
|
||
|
};
|
||
|
export const changeLayout =
|
||
|
createAction<ChangeLayoutPayload>('APP_LAYOUT_CHANGE');
|