We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce4afb4 commit 2caa2bfCopy full SHA for 2caa2bf
src/components/codeHighlights/codeHighlights.tsx
@@ -102,18 +102,9 @@ export function HighlightBlock({
102
<CodeLinesContainer ref={codeRef}>{children}</CodeLinesContainer>
103
<ClipBoardContainer onClick={copyCodeOnClick}>
104
{showCopyButton && !copied && (
105
- <Clipboard
106
- size={16}
107
- opacity={0.15}
108
- stroke={"white"}
109
- />
110
- )}
111
- {showCopyButton && copied && (
112
- <Check
113
114
- stroke={"green"}
115
+ <Clipboard size={16} opacity={0.15} stroke={'white'} />
116
)}
+ {showCopyButton && copied && <Check size={16} stroke={'green'} />}
117
</ClipBoardContainer>
118
</HighlightBlockContainer>
119
);
0 commit comments