Pannel control styles done

This commit is contained in:
2021-10-22 17:19:10 -03:00
parent 28a85f63ec
commit 2e9a2cee45
25 changed files with 489 additions and 13 deletions

View File

@@ -0,0 +1,18 @@
import React from 'react'
import {withRouter} from 'react-router'
const AdminHeader = (props) => {
return (
<header>
<h1>Admin Place</h1>
<button
className="redirect-button"
onClick={() => props.history.push('/')}
>
Back to the Game
</button>
</header>
)
}
export default withRouter(AdminHeader)