import React from 'react'; import { CopyButton as BaseCopyButton } from 'components/Buttons'; import useCopiable from 'lib/useCopiable'; import WithTooltip, { TooltipPosition } from '../WithTooltip'; interface CopyButtonWideProps { text: string; children?: React.ReactNode; rest?: React.HTMLProps; } export function CopyButtonWide({ text, children, ...rest }: CopyButtonWideProps) { const [doCopy, didCopy] = useCopiable(text); return ( {children} ); }