Adapt redux
Add hover-effect on nodes Add Setting drawer Ass auto expansion setting
This commit is contained in:
15
app/src/actions/Settings.ts
Normal file
15
app/src/actions/Settings.ts
Normal 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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user