Adapt redux

Add hover-effect on nodes
Add Setting drawer
Ass auto expansion setting
This commit is contained in:
Thomas Nordquist
2019-01-07 22:47:22 +01:00
parent e945721221
commit e72696dc57
21 changed files with 2667 additions and 139 deletions

View File

@@ -0,0 +1,15 @@
import { Action } from 'redux'
import { ActionTypes } from '../reducers'
export const setAutoExpandLimit = (autoExpandLimit: number = 0) => {
return {
autoExpandLimit,
type: ActionTypes.setAutoExpandLimit,
}
}
export const toggleSettingsVisibility = () => {
return {
type: ActionTypes.toggleSettingsVisibility,
}
}