Testing some designs

This commit is contained in:
2018-06-05 08:17:56 +10:00
parent 6b37f73935
commit 3968075394
20 changed files with 1730 additions and 61 deletions

View File

@ -24,8 +24,12 @@
import React from 'react';
export default function(props) {
let clazzes = "c-page__boundary";
if(props.full) clazzes += " is-full";
if(props.small) clazzes += " is-small";
return (
<div className={"c-page__boundary" + (props.full ? " is-full" : "") }>
<div className={ clazzes }>
{ props.children }
</div>
);