.dumi/theme/common/styles/Markdown.tsx
Function GlobalStyle
has 393 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const GlobalStyle: React.FC = () => {
const token = useTheme();
const { antCls } = token;
File Markdown.tsx
has 400 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import React from 'react';
import { TinyColor } from '@ctrl/tinycolor';
import { css, Global } from '@emotion/react';
import { useTheme } from 'antd-style';