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,
|
||||
}
|
||||
}
|
||||
3
app/src/actions/index.ts
Normal file
3
app/src/actions/index.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import * as settingsActions from './Settings'
|
||||
|
||||
export { settingsActions }
|
||||
Reference in New Issue
Block a user