TencentConfig.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import React, {Component} from 'react';
  2. import {Row, Col, Card} from 'antd';
  3. import APIGroupCard from './APIGroupCard';
  4. import APIPathCard from './APIPathCard';
  5. import DeployCard from './DeployCard';
  6. import ConnectCard from './ConnectCard';
  7. class TencentConfig extends Component {
  8. constructor(props) {
  9. super(props);
  10. this.state = {
  11. };
  12. }
  13. render() {
  14. return (
  15. <div>
  16. <div style={{padding: '30px' }}>
  17. <Row gutter={16}>
  18. <Col span={12}>
  19. <Card title="Deploy"><DeployCard/></Card>
  20. </Col>
  21. <Col span={12}>
  22. <Card title="API Group" ><APIGroupCard/></Card>
  23. </Col>
  24. </Row>
  25. </div>
  26. <div style={{padding: '30px', paddingTop: '15px'}}>
  27. <Row gutter={16}>
  28. <Col span={12}>
  29. <Card title="API Path"><APIPathCard/></Card>
  30. </Col>
  31. <Col span={12}>
  32. <Card title="Connect" ><ConnectCard/></Card>
  33. </Col>
  34. </Row>
  35. </div>
  36. </div>
  37. )
  38. }
  39. }
  40. export default TencentConfig;