fix: update button ui component to have variant and size independent

This commit is contained in:
2026-02-23 14:27:35 +05:00
parent eaddc366ef
commit 655e358158
9 changed files with 44 additions and 43 deletions
+3 -3
View File
@@ -26,9 +26,9 @@
<CropInline />
<div class="crop-controls">
<Button label="Загрузить" ariaLabel="Upload" icon={Upload} type="primary" />
<Button label="Редактировать" ariaLabel="Edit" icon={Pencil} type="secondary" />
<Button label="Сбросить" ariaLabel="Reset" icon={Reset} type="outline" />
<Button label="Загрузить" ariaLabel="Upload" icon={Upload} variant="primary" />
<Button label="Редактировать" ariaLabel="Edit" icon={Pencil} variant="secondary" />
<Button label="Сбросить" ariaLabel="Reset" icon={Reset} variant="outline" />
</div>
<SettingsGrid label="Настройки изображения" icon={Sliders}>