vt-social/app/javascript/flavours/glitch/actions/app.ts

10 lines
241 B
TypeScript

import { createAction } from '@reduxjs/toolkit';
import type { LayoutType } from '../is_mobile';
interface ChangeLayoutPayload {
layout: LayoutType;
}
export const changeLayout =
createAction<ChangeLayoutPayload>('APP_LAYOUT_CHANGE');