1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
market/.storybook/helpers.tsx

17 lines
297 B
TypeScript
Raw Normal View History

2020-05-07 08:03:30 +02:00
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>
)