mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-14 17:24:51 +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>
|
|
)
|