[ABANDONED] React/Redux front end for the Flexor social network.
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.
 
 

13 lines
319 B

import { Action } from 'redux'
export interface SetCollapsedAction extends Action {
type: 'MENU_SET_COLLAPSED'
payload: boolean
}
export type MenuActions = SetCollapsedAction
export const setCollapsed = (collapsed: boolean): SetCollapsedAction => ({
type: 'MENU_SET_COLLAPSED',
payload: collapsed
})