Created
October 1, 2019 17:18
-
-
Save LucasBadico/c39ba703f97c4dac476ddb46a348629e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
export class BackofficeHeader extends React.Component { | |
render() { | |
const {props} = this | |
return <div> | |
<h1>{props.title}</h1> | |
<p class="subtitle"> {props.subtilte || ''} </p> | |
{props.children} | |
</div> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment