Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React from 'react';
import { Button, Popconfirm, Tooltip, notification } from 'antd';
import { css } from 'react-emotion';
import { object, func } from 'prop-types';
import { CopyToClipboard } from 'react-copy-to-clipboard';
import Flex from '../../batteries/components/shared/Flex';
const EyeIcon = require('react-feather/dist/icons/eye').default;
const EyeOffIcon = require('react-feather/dist/icons/eye-off').default;
const CopyIcon = require('react-feather/dist/icons/copy').default;
const EditIcon = require('react-feather/dist/icons/edit').default;
const DeleteIcon = require('react-feather/dist/icons/trash-2').default;
const main = css`
.ant-btn {
border: transparent;
margin-left: 5px;
padding: 0 5px;
}
`;
const container = css`
border: 1px solid #e8e8e8;
padding: 2px 10px;
.ant-btn {
border: transparent;
background-color: transparent;