'use client' import { useState } from 'react' import { t } from 'i18next' import copy from 'copy-to-clipboard' import s from './style.module.css' import Tooltip from '@/app/components/base/tooltip' type ICopyBtnProps = { value: string className?: string isPlain?: boolean } const CopyBtn = ({ value, className, isPlain, }: ICopyBtnProps) => { const [isCopied, setIsCopied] = useState(false) return (