Add per page styling
This commit is contained in:
@ -17,8 +17,11 @@ class Page extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
let clazz = "c-page";
|
||||
if(this.props.className) clazz += " " + this.props.className;
|
||||
|
||||
return (
|
||||
<main className="c-page">
|
||||
<main className={clazz}>
|
||||
{this.props.children}
|
||||
</main>
|
||||
)
|
||||
|
Reference in New Issue
Block a user