Styling and restructuring of components, config edit
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import React from 'react'
|
||||
import Link from 'gatsby-link'
|
||||
|
||||
const InfoBox = ({ headline, text, classes }) => (
|
||||
<div className={`${classes}`}>
|
||||
<h3>{headline}</h3>
|
||||
<p>{text}</p>
|
||||
const InfoBox = ({ ...props }) => (
|
||||
<div className={`${props.classes}`}>
|
||||
<h3>{props.headline}</h3>
|
||||
<p>{props.text}</p>
|
||||
</div>
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user