feat(frontend): updated general form to work with new form shape

* Added CSS for row gap.
pull/76/head
Samuel Rowe 3 years ago
parent a7ee6738c3
commit 3f3185aabe

@ -1,11 +1,19 @@
import { styled } from "@mui/joy";
import TextField from "../../global/FormElements/TextField"; import TextField from "../../global/FormElements/TextField";
const Root = styled("div")`
display: flex;
flex-direction: column;
row-gap: ${({ theme }) => theme.spacing(1)};
`;
const General = () => { const General = () => {
return ( return (
<> <Root>
<TextField label="Volume name" name="canvasConfig.node_name" /> <TextField label="Entry name" name="entryName" />
<TextField label="Name" name="volumeConfig.name" /> <TextField label="Volume name" name="volumeName" />
</> </Root>
); );
}; };

Loading…
Cancel
Save