Skip to content

Commit 9a22d8a

Browse files
committed
chore: add jsdoc comment in clipboard button
1 parent fa9d80d commit 9a22d8a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Common/ClipboardButton/types.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,17 @@
1616

1717
export default interface ClipboardProps {
1818
content: string
19+
/**
20+
* tippy text before copying
21+
*/
1922
initialTippyText?: string
23+
/**
24+
* tippy text after copying
25+
*/
2026
copiedTippyText?: string
27+
/**
28+
* reset duration after copying
29+
*/
2130
duration?: number
2231
copyToClipboardPromise?: Promise<void>
2332
rootClassName?: string

0 commit comments

Comments
 (0)