Skip to content

Commit

Permalink
Add comments for props
Browse files Browse the repository at this point in the history
  • Loading branch information
Nagesh Pai committed Dec 13, 2024
1 parent 3b4bcc9 commit 8a4f35e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client/components/copy-button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ import classNames from 'classnames';
import './style.scss';

interface CopyButtonProps {
/**
* The text to copy to the clipboard.
*/
textToCopy: string;

/**
* The label for the button. Also used as the aria-label.
*/
label: string;
}

Expand Down

0 comments on commit 8a4f35e

Please sign in to comment.