Michael Schramm 8d81390c83 apply eslint
2020-06-09 11:54:50 +02:00

22 lines
376 B
TypeScript

import { Layout, Spin } from 'antd'
import React from 'react'
interface Props {
loading?: boolean
}
export const AuthLayout: React.FC<Props> = (props) => {
return (
<Spin spinning={props.loading}>
<Layout
style={{
height: '100vh',
background: '#437fdc',
}}
>
{props.children}
</Layout>
</Spin>
)
}