feat(ui): add mini/advanced controlnet ui

This commit is contained in:
psychedelicious
2023-06-03 15:05:49 +10:00
parent 69f0ba65f1
commit d6c08ba469
18 changed files with 430 additions and 548 deletions

View File

@@ -36,9 +36,11 @@ const IAISwitch = (props: Props) => {
alignItems="center"
{...formControlProps}
>
<FormLabel my={1} flexGrow={1} {...formLabelProps}>
{label}
</FormLabel>
{label && (
<FormLabel my={1} flexGrow={1} {...formLabelProps}>
{label}
</FormLabel>
)}
<Switch {...rest} />
</FormControl>
);