Files
2026-01-16 02:20:32 +00:00

12 lines
353 B
TypeScript

import * as React from 'react';
import type { CopyConfig } from '../Base';
declare const useCopyClick: ({ copyConfig, children, }: {
copyConfig: CopyConfig;
children?: React.ReactNode;
}) => {
copied: boolean;
copyLoading: boolean;
onClick: (e?: React.MouseEvent<HTMLButtonElement>) => Promise<void>;
};
export default useCopyClick;