drag and drop updated

This commit is contained in:
2024-07-08 12:22:27 +05:30
parent df2a12dff3
commit 5ceba1f8b9
16 changed files with 859 additions and 315 deletions

View File

@@ -9,7 +9,9 @@ const FormInputMain = ({
control,
errors,
onSubmit,
children,
children,
onCancle,
submitTitle,
p,
w
}) => {
@@ -83,16 +85,17 @@ const FormInputMain = ({
{children}
<Box display={'flex'} justifyContent={'end'} mb={5}>
<Box display={"flex"} justifyContent={"space-around"} p={2} w={'49%'} gap={4}>
<Button
<Box display={"flex"} justifyContent={"end"} p={2} w={'49%'} gap={4}>
{onCancle && <Button
size={"sm"}
width={w?w:"44.5%"}
rounded={"sm"}
type="submit"
colorScheme='gray'
onClick={onCancle}
>
Cancel
</Button>
</Button>}
<Button
size={"sm"}
width={w?w:"44.5%"}
@@ -100,7 +103,7 @@ const FormInputMain = ({
type="submit"
colorScheme="green"
>
Submit
{submitTitle ? submitTitle : "Submit"}
</Button>
</Box>
</Box>