Skip to content

Commit

Permalink
Add JS Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishit30G committed Jan 8, 2025
1 parent efdb14a commit bc0ec99
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions packages/block-editor/src/components/copy-handler/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,18 @@ export const __unstableUseClipboardHandler = () => {
};

/**
* @deprecated
* @param {Object} props
* CopyHandler component displays a copy handler for the block editor.
*
* @param props Component props.
* @return {JSX.Element} CopyHandler component.
* @example
* ```jsx
* function Example(){
* return (
* <CopyHandler/>
* );
* );
* }
*/
export default function CopyHandler( props ) {
deprecated( 'CopyHandler', {
Expand Down

0 comments on commit bc0ec99

Please sign in to comment.