Resturctured ViewIOdata page

This commit is contained in:
rockyeverlast
2024-07-05 20:02:10 +05:30
parent 3a626dd208
commit 744dd7f9e9
17 changed files with 766 additions and 302 deletions

View File

@@ -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}