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
@@ -27,6 +27,7 @@ export interface FeatureSettingsWindowProps<T extends string = string> {
onClose: () => void;
children: ReactNode;
footer?: ReactNode;
headerActions?: ReactNode;
}
export function FeatureSettingsWindow<T extends string>({
@@ -40,6 +41,7 @@ export function FeatureSettingsWindow<T extends string>({
onClose,
children,
footer,
headerActions,
}: FeatureSettingsWindowProps<T>) {
return (
<Window
@@ -49,6 +51,7 @@ export function FeatureSettingsWindow<T extends string>({
size="lg"
className="nodedc-feature-settings-window"
footer={footer}
headerActions={headerActions}
closeOnBackdrop={false}
onClose={onClose}
>