mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-30 06:50:36 +02:00
chore: fix CSS import order ESLint rule (#7852)
* enhance: added ESLint ruler for CSS import * chore: added ruler for default import of css, and fixed all exsting files * chore: reverted changes on css header rulers
This commit is contained in:
parent
9150c7aefc
commit
f6835898bc
7 changed files with 24 additions and 6 deletions
|
@ -13,10 +13,11 @@ import Translate from '@docusaurus/Translate';
|
|||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
||||
import BrowserOnly from '@docusaurus/BrowserOnly';
|
||||
import {usePrismTheme} from '@docusaurus/theme-common';
|
||||
|
||||
import type {Props} from '@theme/Playground';
|
||||
import type {ThemeConfig} from '@docusaurus/theme-live-codeblock';
|
||||
|
||||
import styles from './styles.module.css';
|
||||
import type {ThemeConfig} from '@docusaurus/theme-live-codeblock';
|
||||
|
||||
function Header({children}: {children: React.ReactNode}) {
|
||||
return <div className={clsx(styles.playgroundHeader)}>{children}</div>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue