ui: use native IconCopySmall24 to match size/weight of sibling icon buttons

This commit is contained in:
Hermes Agent committed 2026-09-09 15:39:10 +02:00
1 parent fd12df7d39
commit 84a89cd4b6
1 file changed
+2 -8
+2 -8
View File
@@ -9,6 +9,7 @@ import {
IconExpand24,
IconCollapse24,
IconCheck24,
IconCopySmall24,
useWindowResize
} from '@create-figma-plugin/ui'
import { emit, on } from '@create-figma-plugin/utilities'
@@ -171,14 +172,7 @@ function Plugin () {
title="Копировать значения переменных"
onClick={copyInfo}
>
{copied
? <IconCheck24 />
: (
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg">
<rect x="9" y="9" width="13" height="13" rx="2" ry="2" />
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" />
</svg>
)}
{copied ? <IconCheck24 /> : <IconCopySmall24 />}
</IconButton>
<IconButton
title={isMaximized ? 'Свернуть окно' : 'Развернуть окно'}