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.
This commit is contained in:
parent
210ae5975a
commit
2fd4870d21
@ -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}
|
||||
/>
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user