import PropTypes from 'prop-types' import { Flex, Typography } from 'antd' import CopyButton from './CopyButton' const { Text } = Typography const MiscId = ({ value, showCopy = true }) => { if (!value) { return n/a } return ( {value} {showCopy && ( )} ) } MiscId.propTypes = { value: PropTypes.string, showCopy: PropTypes.bool } export default MiscId