mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-22 01:57:57 +00:00
2a779cc25a
Automatic import ordering changes from linter. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
25 lines
605 B
TypeScript
25 lines
605 B
TypeScript
// Copyright 2017-2026 @pezkuwi/react-components authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// Override react-copy-to-clipboard types for React 18 compatibility
|
|
declare module 'react-copy-to-clipboard' {
|
|
import type { ReactElement, ReactNode } from 'react';
|
|
|
|
interface Options {
|
|
debug?: boolean;
|
|
message?: string;
|
|
format?: string;
|
|
}
|
|
|
|
interface Props {
|
|
children?: ReactNode;
|
|
text: string;
|
|
onCopy?: (text: string, result: boolean) => void;
|
|
options?: Options;
|
|
}
|
|
|
|
function CopyToClipboard(props: Props): ReactElement;
|
|
|
|
export = CopyToClipboard;
|
|
}
|