import * as React from 'react'; import { Select, Row, Col } from '@btri-ui/base'; const { Option } = Select; const State = () => { const handleChange = (value: any) => { console.log(value); }; const [loading, setLoading] = React.useState(true); const [children, setChildren] = React.useState([]); const loadData = () => { const children = []; for (let i = 10; i < 36; i += 1) { children.push( , ); } setChildren(children); setLoading(false); }; React.useEffect(() => { setTimeout(() => { loadData(); }, 5000); }, []); return ( ); }; export default State;