mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-25 17:44:14 -05:00
8 lines
223 B
TypeScript
8 lines
223 B
TypeScript
|
import { createAction } from '@reduxjs/toolkit';
|
||
|
|
||
|
type ChangeLayoutPayload = {
|
||
|
layout: 'mobile' | 'single-column' | 'multi-column';
|
||
|
};
|
||
|
export const changeLayout =
|
||
|
createAction<ChangeLayoutPayload>('APP_LAYOUT_CHANGE');
|