1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-14 17:24:51 +01:00
market/.storybook/helpers.tsx
2020-05-07 09:03:30 +03:00

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>
)