ui: add icon to e2e button

This commit is contained in:
nick-delirium 2025-02-25 14:55:29 +01:00
parent 4b16e50e5f
commit d85f63c72e
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -1,7 +1,7 @@
import { ShareAltOutlined } from '@ant-design/icons'; import { ShareAltOutlined } from '@ant-design/icons';
import { Button as AntButton, Switch, Tooltip, Dropdown } from 'antd'; import { Button as AntButton, Switch, Tooltip, Dropdown } from 'antd';
import cn from 'classnames'; import cn from 'classnames';
import { Link2, Keyboard } from 'lucide-react'; import { Link2, Keyboard, Bot } from 'lucide-react';
import { observer } from 'mobx-react-lite'; import { observer } from 'mobx-react-lite';
import React, { useMemo } from 'react'; import React, { useMemo } from 'react';
import { MoreOutlined } from '@ant-design/icons'; import { MoreOutlined } from '@ant-design/icons';
@ -198,7 +198,10 @@ function SubHeader(props) {
}, },
{ {
key: '5', key: '5',
label: <div className={'flex items-center gap-2'}>Export Events</div>, label: <div className={'flex items-center gap-2'}>
<Bot size={16} strokeWidth={1} />
<span>Export Events</span>
</div>,
onClick: exportEvents, onClick: exportEvents,
} }
] ]