forked from ddrilling/asb_cloud_front
replace close icon by delete icon
This commit is contained in:
parent
116e730485
commit
7cd0971f24
@ -1,7 +1,7 @@
|
||||
import { useState, useEffect } from 'react';
|
||||
import { Button, Select, Tag, Popover, Row, Tooltip } from 'antd';
|
||||
import { ChartTimeArchive } from './charts/ChartTimeArchive';
|
||||
//import { SlidersOutlined } from '@ant-design/icons';
|
||||
import { DeleteOutlined } from '@ant-design/icons';
|
||||
|
||||
const { Option } = Select;
|
||||
|
||||
@ -101,7 +101,7 @@ export function ArchiveColumn({ data, config, rangeDate, chartRatio, onRemoveCha
|
||||
const popBar = <Row>
|
||||
{select}
|
||||
<Tooltip title="Удалить этот график">
|
||||
<Button onClick={() => onRemoveChart(config.id)}>X</Button>
|
||||
<Button onClick={() => onRemoveChart(config.id)}><DeleteOutlined /></Button>
|
||||
</Tooltip>
|
||||
</Row>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user