Resturctured ViewIOdata page
This commit is contained in:
@@ -16,6 +16,7 @@ const FormInputView = ({
|
||||
{Object?.entries(groupedFields, groupedFieldsTwo).map(
|
||||
([section, fields], index) => (
|
||||
<Box key={section}>
|
||||
{console.log(fields)}
|
||||
<Heading as="h6" size="xs" mt={index === 0 ? 3 : 4}>
|
||||
{section}
|
||||
</Heading>
|
||||
@@ -27,7 +28,7 @@ const FormInputView = ({
|
||||
flexWrap={"wrap"}
|
||||
gap={4}
|
||||
>
|
||||
{fields.map(({ value, label, id, width }, key) => (
|
||||
{fields.map(({ value, label, id, width, btn }, key) => (
|
||||
<Box w={!width ? "49%" : width}>
|
||||
<FormLabel key={id} color={"gray.500"} fontSize={"xs"}>
|
||||
{label}
|
||||
|
||||
Reference in New Issue
Block a user