Better environment edit dialog

This commit is contained in:
Gregory Schier
2024-02-18 07:44:53 -08:00
parent 8db80d2e97
commit 4c6bd63b8b
10 changed files with 171 additions and 120 deletions

View File

@@ -6,7 +6,7 @@ import { Dialog } from './core/Dialog';
type DialogEntry = {
id: string;
render: ({ hide }: { hide: () => void }) => React.ReactNode;
} & Pick<DialogProps, 'title' | 'description' | 'hideX' | 'className' | 'size'>;
} & Pick<DialogProps, 'title' | 'description' | 'hideX' | 'className' | 'size' | 'noPadding'>;
interface State {
dialogs: DialogEntry[];