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

@ -12,7 +12,7 @@ import Helmet from 'react-helmet';
import classnames from 'classnames';
import Layout from '@theme/Layout'; // eslint-disable-line
import styles from './styles.css';
import styles from './styles.module.css';
export default class BlogPost extends React.Component {
renderPostHeader() {
const {metadata, siteConfig} = this.props;