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

15 lines
286 B
TypeScript
Raw 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> {}
}