mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
17 lines
297 B
TypeScript
17 lines
297 B
TypeScript
|
import React from 'react'
|
||
|
|
||
|
export const Center = ({ children }: { children: any }) => (
|
||
|
<div
|
||
|
style={{
|
||
|
height: '100vh',
|
||
|
maxWidth: '35rem',
|
||
|
margin: 'auto',
|
||
|
display: 'flex',
|
||
|
alignItems: 'center',
|
||
|
justifyContent: 'center'
|
||
|
}}
|
||
|
>
|
||
|
{children}
|
||
|
</div>
|
||
|
)
|