Prettified Code!
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
import React from "react"
|
import React from "react"
|
||||||
|
|
||||||
export default props => <h1 align="center">{props.headline}</h1>
|
export default (props) => <h1 align="center">{props.headline}</h1>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React from "react"
|
import React from "react"
|
||||||
|
|
||||||
export default props => (
|
export default (props) => (
|
||||||
<div id={props.title}>
|
<div id={props.title}>
|
||||||
<h1>{props.title}</h1>
|
<h1>{props.title}</h1>
|
||||||
<p>{props.text}</p>
|
<p>{props.text}</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user