MyCrypto/common/typescript/react-copy-to-clipboard.d.ts

15 lines
286 B
TypeScript
Raw Permalink Normal View History

declare module 'react-copy-to-clipboard' {
interface Options {
debug: boolean;
message: string;
}
interface Props {
text: string;
onCopy?(a: string, b: boolean): void;
options?: Options;
}
export class CopyToClipboard extends React.Component<Props> {}
}