mirror of
https://github.com/funamitech/mastodon
synced 2024-11-24 23:26:42 +09:00
13 lines
348 B
TypeScript
13 lines
348 B
TypeScript
import { createAction } from '@reduxjs/toolkit';
|
|
|
|
import type { LayoutType } from '../is_mobile';
|
|
|
|
export const focusApp = createAction('APP_FOCUS');
|
|
export const unfocusApp = createAction('APP_UNFOCUS');
|
|
|
|
interface ChangeLayoutPayload {
|
|
layout: LayoutType;
|
|
}
|
|
export const changeLayout =
|
|
createAction<ChangeLayoutPayload>('APP_LAYOUT_CHANGE');
|