const getter = { userInfo: state => state.userInfo, mainContainerHeight: state => state.mainContainerHeight, name: state => state.name, colSize: state => state.btnStyleVal.type === 'text' ? state.actionCol.textSize : state.actionCol[`${state.btnStyleVal.size ? state.btnStyleVal.size : 'default'}Size`] } export default getter