From 2fd4870d219b70aa5bb8e999fc214879653fcb8c Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 28 Dec 2025 02:09:43 +0000 Subject: [PATCH] Enhance ObjectProperty component to support size prop for improved layout control - Added `size` prop to ObjectProperty component for better customization of input elements. - Updated relevant instances in the component to utilize the new `size` prop, ensuring consistent styling across different usages. --- src/components/Dashboard/common/ObjectProperty.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Dashboard/common/ObjectProperty.jsx b/src/components/Dashboard/common/ObjectProperty.jsx index 0f52cad..58f1eef 100644 --- a/src/components/Dashboard/common/ObjectProperty.jsx +++ b/src/components/Dashboard/common/ObjectProperty.jsx @@ -61,6 +61,7 @@ const MATERIAL_OPTIONS = [ const ObjectProperty = ({ type = 'text', prefix, + size, suffix, value, min, @@ -411,6 +412,7 @@ const ObjectProperty = ({ maxWidth={maxWidth} loading={loading} rollups={rollups} + size={size} /> ) } @@ -798,6 +800,7 @@ const ObjectProperty = ({ objectData={objectData} isEditing={true} rollups={rollups} + size={size} {...inputProps} /> )