packages/uikit-playground/src/Context/action/sidebarToggleAction.ts
import { ActionTypes } from "../reducer";
export type SidebarToggleAction = {
type: ActionTypes.SidebarToggle,
payload: boolean,
};
export const sidebarToggleAction = (payload: boolean): SidebarToggleAction => ({
type: ActionTypes.SidebarToggle,
payload,
});