Skip to content

Commit

Permalink
add classname to oft-box
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-js committed Jan 27, 2024
1 parent bfba485 commit d6f1893
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/mantine/src/templates/ObjectFieldTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ export default function ObjectFieldTemplate<
}}
className={`armt-template-objectfield ${classNames ?? ''}`}
>
<Box>{properties.map((prop: ObjectFieldTemplatePropertyType) => prop.content)}</Box>
<Box className='armt-template-objectfield-item'>
{properties.map((prop: ObjectFieldTemplatePropertyType) => prop.content)}
</Box>
{canExpand<T, S, F>(schema, uiSchema, formData) && (
<AddButton
className='object-property-expand'
Expand Down

0 comments on commit d6f1893

Please sign in to comment.