Jayden Seric 6492ba8fef Componentization improvements.
- Using a new component for sections.
- Renamed “multi” to “multiple” in the uploader name, to match the input attribute “multiple”.
2017-04-09 13:13:39 +10:00

12 lines
188 B
JavaScript

export default ({heading, children}) => (
<section>
<h2>{heading}</h2>
{children}
<style jsx>{`
section {
padding: 1em 0;
}
`}</style>
</section>
)