0.0.2 • Published 3 years ago
cra-layout v0.0.2
Small utility for adding layout in a declarative way
Usage
import React from 'react'
import { withLayout } from 'cra-layout'
import { DesktopLayout } from '../components'
const Example = () => (
<div>
<h1>Some example sentence<h1>
</div>
);
export default withLayout(DesktopLayout, <Example />);
0.0.2
3 years ago