feat(v2): support non-css modules when loading styles (#1069)

This commit is contained in:
Yangshun Tay 2018-10-25 21:43:31 -07:00 committed by GitHub
parent 13b23edd12
commit c7336462ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 439 additions and 430 deletions

View file

@ -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);