mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-13 09:45:50 +00:00
22 lines
388 B
TypeScript
22 lines
388 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>
|
|
)
|
|
}
|