mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-18 19:46:57 +02:00
feat: add .css webpack loader
This commit is contained in:
parent
ea706d2830
commit
1564edae4c
9 changed files with 202 additions and 41 deletions
|
@ -1,8 +1,9 @@
|
|||
import React from 'react';
|
||||
import style from './layout.css';
|
||||
|
||||
export default class Layout extends React.Component {
|
||||
render() {
|
||||
const {children} = this.props;
|
||||
return <div>{children}</div>;
|
||||
return <div className={style.mainContainer}>{children}</div>;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue