Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
export interface UseClipboardOptions {
/** Time in ms after which the copied state will reset, `2000` by default */
timeout?: number;
}
export interface UseClipboardReturnValue {
/** Function to copy value to clipboard */
copy: (value: any) => void;
/** Function to reset copied state and error */
reset: () => void;
/** Error if copying failed */
error: Error | null;
/** Boolean indicating if the value was copied successfully */
copied: boolean;
}
export declare function useClipboard(options?: UseClipboardOptions): UseClipboardReturnValue;