import { GlobalProps } from '../../shared/global'; export interface ClipboardItemProps extends GlobalProps { /** * Plain text to be written to the clipboard. * * @default '' */ text?: string; /** * Callback run when the copy to clipboard succeeds. */ onCopy?: () => void; /** * Callback run when the copy to clipboard fails. */ onCopyError?: () => void; }