Skip to content

Commit 313deb2

Browse files
MalyshevMalyshev
authored andcommitted
feat(DATAUI-3610): update visual tests
1 parent 519d4c5 commit 313deb2

32 files changed

Lines changed: 81 additions & 200 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {};

src/components/CopyToClipboard/copyText.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
/**
22
* Copies text to the browser's clipboard.
33
* Uses the modern `navigator.clipboard` API, with a fallback to `document.execCommand` when unavailable.
4-
*
54
* @param {string} text Text to copy to the clipboard
65
* @returns {Promise<void>} Promise that resolves on successful copy or rejects on error
76
* @throws {Error} Throws an error if neither `navigator.clipboard` nor `document` is available
8-
*
97
* @example
108
* ```typescript
119
* // Copy simple text
Loading
19.9 KB
Loading
350 Bytes
Loading
729 Bytes
Loading
830 Bytes
Loading
-34.4 KB
Loading

0 commit comments

Comments
 (0)