mirror of https://github.com/sunface/rust-course
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
438 B
19 lines
438 B
5 years ago
|
import React, { useEffect, useState } from 'react'
|
||
|
import { Spin } from 'antd'
|
||
|
|
||
|
function DatePickers() {
|
||
|
const [loading, setLoading] = useState(true)
|
||
|
useEffect(() => {
|
||
|
setLoading(false)
|
||
|
return () => {}
|
||
|
}, [])
|
||
|
|
||
|
return (
|
||
|
<Spin spinning={loading} tip="Loading...">
|
||
|
<div className='container'>
|
||
|
DatePicker
|
||
|
</div>
|
||
|
</Spin>
|
||
|
)
|
||
|
}
|
||
|
export default DatePickers
|