File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 44
55import { useState , useCallback , Fragment } from 'react' ;
66
7- import { CopyIcon , CheckIcon } from '@radix-ui/react-icons' ;
7+ import { ClipboardCopyIcon , CheckIcon } from '@radix-ui/react-icons' ;
88import { createPortal } from 'react-dom' ;
99
1010/**
@@ -50,13 +50,13 @@ export default function CopyForLLMButton() {
5050 onClick = { handleCopy }
5151 title = { copied ? 'Copied!' : 'Copy page content for LLM' }
5252 aria-label = "Copy for LLM"
53- className = "float-right mr-2 flex items-center justify-center text-[var(--gray-12)] hover:text-[var(--accent)] focus:outline-none"
53+ className = "float-right mr-[5px] flex items-center justify-center text-[var(--gray-12)] hover:text-[var(--accent)] focus:outline-none"
5454 data-mdast = "ignore"
5555 >
5656 { copied ? (
5757 < CheckIcon width = "24" height = "24" />
5858 ) : (
59- < CopyIcon width = "24" height = "24" />
59+ < ClipboardCopyIcon width = "24" height = "24" />
6060 ) }
6161 </ button >
6262
You can’t perform that action at this time.
0 commit comments