1
0
ohmyform/ui/components/loading.page.tsx
Michael Schramm 9c4c325e5a
Switch to single branch (#221)
* remove submodules
* add api and ui files
* update github actions
* use sparse checkout
* update node setup
* update checkout
* update docker
* change permissions
* update mariadb health check
* update changelog
2023-12-02 19:22:40 +01:00

24 lines
416 B
TypeScript

import { Spin } from 'antd'
import React from 'react'
interface Props {
message?: string
}
export const LoadingPage: React.FC<Props> = (props) => {
return (
<div
style={{
height: '100vh',
justifyContent: 'center',
alignItems: 'center',
display: 'flex',
flexDirection: 'column',
}}
>
<Spin size="large" />
{props.message}
</div>
)
}