fix(ui): Clean up manual add forms

This commit is contained in:
blessedcoolant
2023-03-19 19:09:22 +13:00
committed by psychedelicious
parent 5906888477
commit 2aefa06ef1
4 changed files with 250 additions and 221 deletions

View File

@@ -0,0 +1,23 @@
import { Flex } from '@chakra-ui/react';
import { ReactElement } from 'react';
export function IAIFormItemWrapper({
children,
}: {
children: ReactElement | ReactElement[];
}) {
return (
<Flex
sx={{
flexDirection: 'column',
padding: 4,
rowGap: 4,
borderRadius: 'base',
width: 'full',
bg: 'base.900',
}}
>
{children}
</Flex>
);
}