mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-28 00:49:46 +03:00
Fix
This commit is contained in:
parent
034e38e5fa
commit
81c03e4619
|
@ -1,5 +1,5 @@
|
|||
import React, { Component, ReactNode } from 'react';
|
||||
import { Base16Theme } from 'base16';
|
||||
import type { Base16Theme } from 'react-base16-styling';
|
||||
import createStyledComponent from '../utils/createStyledComponent';
|
||||
import * as styles from './styles';
|
||||
import { commonStyle, tooltipStyle } from './styles/common';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import React, { PureComponent } from 'react';
|
||||
import { Base16Theme } from 'base16';
|
||||
import type { Base16Theme } from 'react-base16-styling';
|
||||
import createStyledComponent from '../utils/createStyledComponent';
|
||||
import * as styles from './styles';
|
||||
import Button from '../Button';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React, { Component } from 'react';
|
||||
import styled from 'styled-components';
|
||||
import CodeMirror, { EditorChange } from 'codemirror';
|
||||
import { Base16Theme } from 'base16';
|
||||
import type { Base16Theme } from 'react-base16-styling';
|
||||
import { defaultStyle, themedStyle } from './styles';
|
||||
import { Theme } from '../themes/default';
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import React, { PureComponent, Component } from 'react';
|
||||
import JSONSchemaForm, { FormProps } from '@rjsf/core';
|
||||
import { Base16Theme } from 'base16';
|
||||
import type { Base16Theme } from 'react-base16-styling';
|
||||
import createStyledComponent from '../utils/createStyledComponent';
|
||||
import styles from './styles';
|
||||
import Button from '../Button';
|
||||
|
|
|
@ -3,7 +3,7 @@ import { MdClose } from 'react-icons/md';
|
|||
import { MdWarning } from 'react-icons/md';
|
||||
import { MdError } from 'react-icons/md';
|
||||
import { MdCheckCircle } from 'react-icons/md';
|
||||
import { Base16Theme } from 'base16';
|
||||
import type { Base16Theme } from 'react-base16-styling';
|
||||
import createStyledComponent from '../utils/createStyledComponent';
|
||||
import styles from './styles';
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import React, { Component } from 'react';
|
||||
import { Base16Theme } from 'base16';
|
||||
import type { Base16Theme } from 'react-base16-styling';
|
||||
import createStyledComponent from '../utils/createStyledComponent';
|
||||
import styles from './styles';
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import React, { Component } from 'react';
|
||||
import { Base16Theme } from 'base16';
|
||||
import type { Base16Theme } from 'react-base16-styling';
|
||||
import createStyledComponent from '../utils/createStyledComponent';
|
||||
import * as styles from './styles';
|
||||
import { containerStyle } from './styles/common';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import styled, { ThemedStyledInterface } from 'styled-components';
|
||||
import { Base16Theme } from 'base16';
|
||||
import type { Base16Theme } from 'react-base16-styling';
|
||||
import * as CSS from 'csstype';
|
||||
|
||||
export type BorderPosition = 'top' | 'bottom';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export type { Base16Theme } from 'base16';
|
||||
export type { Base16Theme } from 'react-base16-styling';
|
||||
|
||||
export { default as Container } from './Container';
|
||||
export { default as Button } from './Button';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Base16Theme } from 'base16';
|
||||
import type { Base16Theme } from 'react-base16-styling';
|
||||
import * as CSS from 'csstype';
|
||||
import * as themes from './index';
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Base16Theme } from 'base16';
|
||||
import type { Base16Theme } from 'react-base16-styling';
|
||||
|
||||
export default (colors: Base16Theme) => ({
|
||||
fontFamily: "'Roboto', sans-serif",
|
||||
|
|
|
@ -6,8 +6,8 @@ import styled, {
|
|||
ThemedStyledInterface,
|
||||
ThemedStyledProps,
|
||||
} from 'styled-components';
|
||||
import type { Base16Theme } from 'react-base16-styling';
|
||||
import getDefaultTheme, { Theme } from '../themes/default';
|
||||
import { Base16Theme } from 'base16';
|
||||
import { ThemeFromProvider } from './theme';
|
||||
|
||||
type StyleFunction<
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
import getDefaultTheme, { Theme } from '../themes/default';
|
||||
import { withTheme } from 'styled-components';
|
||||
import { Base16Theme } from 'base16';
|
||||
import type { Base16Theme } from 'react-base16-styling';
|
||||
import getDefaultTheme, { Theme } from '../themes/default';
|
||||
|
||||
export default <C extends React.ComponentType<any>>(
|
||||
UnthemedComponent: React.ComponentProps<C> extends { theme?: Theme }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Base16Theme } from 'base16';
|
||||
import type { Base16Theme } from 'react-base16-styling';
|
||||
|
||||
function invertColors(theme: Base16Theme) {
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue
Block a user