"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CopyText = void 0;
const styles_1 = require("../../styles");
const InlineFlex_1 = require("../InlineFlex");
exports.CopyText = styles_1.styled(InlineFlex_1.InlineFlex) `
  position: relative;
  cursor: pointer;

  &::after {
    content: '${({ tooltip }) => tooltip}';
    position: absolute;
    top: -18px;
    right: -13px;
    margin: 0;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border-radius: 8px;
    font-size: 9px;
    font-weight: bold;
    white-space: nowrap;
    pointer-events: none;
    opacity: ${(props) => (props.copied ? 1 : 0)};
  }
`;
//# sourceMappingURL=styles.js.map