diff --git a/packages/toolpad-app/src/runtime/ToolpadApp.tsx b/packages/toolpad-app/src/runtime/ToolpadApp.tsx
index 64207bdaa90..01c06a7b605 100644
--- a/packages/toolpad-app/src/runtime/ToolpadApp.tsx
+++ b/packages/toolpad-app/src/runtime/ToolpadApp.tsx
@@ -63,10 +63,7 @@ import usePageTitle from '../utils/usePageTitle';
import ComponentsContext, { useComponents, useComponent } from './ComponentsContext';
import { AppModulesProvider, useAppModules } from './AppModulesProvider';
import Pre from '../components/Pre';
-import {
- layoutBoxAlignArgTypeDef,
- layoutBoxJustifyArgTypeDef,
-} from '../toolpadComponents/layoutBox';
+import { layoutBoxArgTypes } from '../toolpadComponents/layoutBox';
const USE_DATA_QUERY_CONFIG_KEYS: readonly (keyof UseDataQueryConfig)[] = [
'enabled',
@@ -315,10 +312,10 @@ function RenderedNodeContent({ node, childNodeGroups, Component }: RenderedNodeC
display: 'flex',
alignItems:
(componentConfig.hasLayoutBoxAlign && node.layout?.boxAlign?.value) ||
- layoutBoxAlignArgTypeDef.defaultValue,
+ layoutBoxArgTypes.boxAlign.defaultValue,
justifyContent:
(componentConfig.hasLayoutBoxJustify && node.layout?.boxJustify?.value) ||
- layoutBoxJustifyArgTypeDef.defaultValue,
+ layoutBoxArgTypes.boxJustify.defaultValue,
}}
>
({ componentConfig, node }: ComponentPropsEditor node={node} namespace="layout" name="boxJustify" - argType={layoutBoxJustifyArgTypeDef} + argType={layoutBoxArgTypes.boxJustify} /> ) : null} @@ -65,7 +62,7 @@ function ComponentPropsEditor
({ componentConfig, node }: ComponentPropsEditor
node={node}
namespace="layout"
name="boxAlign"
- argType={layoutBoxAlignArgTypeDef}
+ argType={layoutBoxArgTypes.boxAlign}
/>
) : null}
diff --git a/packages/toolpad-app/src/toolpad/AppEditor/PageEditor/NodeAttributeEditor.tsx b/packages/toolpad-app/src/toolpad/AppEditor/PageEditor/NodeAttributeEditor.tsx
index b3396b52d9f..5f09f4d3273 100644
--- a/packages/toolpad-app/src/toolpad/AppEditor/PageEditor/NodeAttributeEditor.tsx
+++ b/packages/toolpad-app/src/toolpad/AppEditor/PageEditor/NodeAttributeEditor.tsx
@@ -29,10 +29,7 @@ export default function NodeAttributeEditor({
[domApi, node, namespace, name],
);
- const propValue: BindableAttrValue