You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
348 B
12 lines
348 B
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');
|
|
|