mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-24 03:58:49 +02:00
feat(v2): support non-css modules when loading styles (#1069)
This commit is contained in:
parent
13b23edd12
commit
c7336462ec
24 changed files with 439 additions and 430 deletions
|
@ -9,7 +9,7 @@ import React from 'react';
|
|||
import {NavLink} from 'react-router-dom';
|
||||
import classnames from 'classnames';
|
||||
|
||||
import styles from './styles.css';
|
||||
import styles from './styles.module.css';
|
||||
|
||||
export default function SidebarLink({href, label}) {
|
||||
const isExternal = /^(https?:|\/\/)/.test(href);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue