PCqiandao
parent
2d3a3ae9c8
commit
0d1527efd6
@ -0,0 +1,41 @@
|
||||
import React,{ Component } from "react";
|
||||
import { Row, Col,Select } from 'antd';
|
||||
|
||||
const { Option } = Select;
|
||||
|
||||
class Signedinlist extends Component {
|
||||
constructor(props) {
|
||||
super(props)
|
||||
}
|
||||
handleChange=(value)=>{
|
||||
console.log(`selected ${value}`);
|
||||
}
|
||||
render() {
|
||||
|
||||
return(
|
||||
<React.Fragment>
|
||||
<Row className={"mt20"}>
|
||||
<Col span={12}>
|
||||
<Row type="flex" justify="space-between">
|
||||
<Col span={4}>
|
||||
<Select defaultValue="lucy" style={{ width: 120 }} onChange={this.handleChange}>
|
||||
<Option value="jack">Jack</Option>
|
||||
|
||||
</Select>
|
||||
<Select defaultValue="lucy" style={{ width: 120 }} onChange={this.handleChange}>
|
||||
<Option value="jack">Jack</Option>
|
||||
</Select>
|
||||
</Col>
|
||||
</Row>
|
||||
</Col>
|
||||
<Col span={12}>col-12</Col>
|
||||
</Row>
|
||||
</React.Fragment>
|
||||
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
export default Signedinlist
|
Loading…
Reference in new issue