Commit 6e2d122a authored by afc163's avatar afc163

use antd Divider

parent 63b76456
import React, { PureComponent } from 'react'; import React, { PureComponent } from 'react';
import moment from 'moment'; import moment from 'moment';
import { Table, Alert, Badge } from 'antd'; import { Table, Alert, Badge, Divider } from 'antd';
import styles from './index.less'; import styles from './index.less';
const statusMap = ['default', 'processing', 'success', 'error']; const statusMap = ['default', 'processing', 'success', 'error'];
...@@ -101,7 +101,7 @@ class StandardTable extends PureComponent { ...@@ -101,7 +101,7 @@ class StandardTable extends PureComponent {
render: () => ( render: () => (
<div> <div>
<a href="">配置</a> <a href="">配置</a>
<span className={styles.splitLine} /> <Divider type="vertical" />
<a href="">订阅警报</a> <a href="">订阅警报</a>
</div> </div>
), ),
......
...@@ -10,12 +10,4 @@ ...@@ -10,12 +10,4 @@
.tableAlert { .tableAlert {
margin-bottom: 16px; margin-bottom: 16px;
} }
.splitLine {
background: @border-color-split;
display: inline-block;
margin: 0 8px;
width: 1px;
height: 12px;
}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment