// Copyright (C) 2020-2022 Intel Corporation // Copyright (C) 2022 CVAT.ai Corp // // SPDX-License-Identifier: MIT import './styles.scss'; import React from 'react'; import Button from 'antd/lib/button'; import Popover from 'antd/lib/popover'; import Text from 'antd/lib/typography/Text'; import { StarOutlined, LikeOutlined, CloseCircleOutlined, MessageOutlined, } from '@ant-design/icons'; import { FacebookShareButton, LinkedinShareButton, TwitterShareButton, TelegramShareButton, WhatsappShareButton, VKShareButton, RedditShareButton, ViberShareButton, FacebookIcon, TwitterIcon, TelegramIcon, WhatsappIcon, VKIcon, RedditIcon, ViberIcon, LinkedinIcon, } from 'react-share'; import consts from 'consts'; function renderContent(): JSX.Element { const { GITHUB_URL, GITHUB_IMAGE_URL, DISCORD_URL } = consts; return ( <> Star us on {' '} GitHub
Leave a {' '} feedback

Do you need help? Contact us on {' '} Discord ); } export default function Feedback(): JSX.Element { const [visible, setVisible] = React.useState(false); return ( <> Help to make CVAT better} content={renderContent()} visible={visible} overlayClassName='cvat-feedback-popover' > ); }