feat(ui): more work on controlnet mini

This commit is contained in:
psychedelicious
2023-06-03 13:06:37 +10:00
parent b6b3b9f99c
commit a0dde66b5d
9 changed files with 166 additions and 92 deletions

View File

@@ -48,7 +48,7 @@ const IAIDndImage = (props: IAIDndImageProps) => {
isDragDisabled = false,
fallback = <IAIImageFallback />,
payloadImage,
minSize = 36,
minSize = 24,
} = props;
const dndId = useRef(uuidv4());
const { getUrl } = useGetUrl();

View File

@@ -1,8 +1,8 @@
import { Checkbox, CheckboxProps, Text } from '@chakra-ui/react';
import { memo, ReactNode } from 'react';
import { memo, ReactElement } from 'react';
type IAISimpleCheckboxProps = CheckboxProps & {
label: string | ReactNode;
label: string | ReactElement;
};
const IAISimpleCheckbox = (props: IAISimpleCheckboxProps) => {