Archived
1
0

Prettified Code!

This commit is contained in:
creyD
2020-06-05 13:21:02 +00:00
committed by GitHub Action
parent 3588350e15
commit 21ec9067f5
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
import React from "react"
import Menu from "../components/menu"
export default props => (
export default (props) => (
<div>
<h1 align="center">{props.headline}</h1>
<Menu />

View File

@@ -1,6 +1,6 @@
import React from "react"
export default props => (
export default (props) => (
<div id={props.title}>
<h2>{props.title}</h2>
<p>{props.text}</p>