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');
|