- Using a new component for sections. - Renamed “multi” to “multiple” in the uploader name, to match the input attribute “multiple”.
12 lines
188 B
JavaScript
12 lines
188 B
JavaScript
export default ({heading, children}) => (
|
|
<section>
|
|
<h2>{heading}</h2>
|
|
{children}
|
|
<style jsx>{`
|
|
section {
|
|
padding: 1em 0;
|
|
}
|
|
`}</style>
|
|
</section>
|
|
)
|