mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
Fixes
This commit is contained in:
parent
81c03e4619
commit
6d39b836cb
|
@ -101,9 +101,7 @@ export const StyleUtilsContext = createContext<StyleUtils>({
|
||||||
invertTheme: false,
|
invertTheme: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
export function getJsonTreeTheme(
|
export function getJsonTreeTheme(base16Theme: Base16Theme): StylingConfig {
|
||||||
base16Theme: base16Themes.Base16Theme,
|
|
||||||
): StylingConfig {
|
|
||||||
return {
|
return {
|
||||||
extend: base16Theme,
|
extend: base16Theme,
|
||||||
nestedNode: ({ style }, keyPath, nodeType, expanded) => ({
|
nestedNode: ({ style }, keyPath, nodeType, expanded) => ({
|
||||||
|
|
|
@ -43,7 +43,7 @@ interface SliderMonitorProps<S, A extends Action<string>> // eslint-disable-next
|
||||||
dispatch: Dispatch<LiftedAction<S, A, {}>>;
|
dispatch: Dispatch<LiftedAction<S, A, {}>>;
|
||||||
preserveScrollTop: boolean;
|
preserveScrollTop: boolean;
|
||||||
select: (state: S) => unknown;
|
select: (state: S) => unknown;
|
||||||
theme: keyof typeof themes | Base16Theme;
|
theme: keyof typeof base16Themes | Base16Theme;
|
||||||
keyboardEnabled: boolean;
|
keyboardEnabled: boolean;
|
||||||
hideResetButton?: boolean;
|
hideResetButton?: boolean;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user