feat(ui): support window header actions and disclosure collapse icon

This commit is contained in:
Codex
2026-09-30 20:51:17 +03:00
parent 1b63366d2e
commit 77091fda98
10 changed files with 31 additions and 4 deletions
+2
View File
@@ -239,6 +239,7 @@ const iconLabels: Record<IconName, string> = {
camera: "Камера",
check: "Готово",
"chevron-down": "Раскрыть",
"chevron-up": "Свернуть",
"chevron-left": "Назад",
"chevron-right": "Вперёд",
circle: "Маркер",
@@ -2361,6 +2362,7 @@ export function CatalogApp() {
<Window
open={createModalOpen}
headerActions={<IconButton label="Обновить пример" onClick={() => setProjectName("Обновлено")}><Icon name="refresh" /></IconButton>}
title="Создать проект"
subtitle="Адаптивная форма"
size="sm"