Model Manager Frontend Rebased

This commit is contained in:
blessedcoolant
2022-12-25 09:28:59 +13:00
parent 3521557541
commit 79d577bff9
26 changed files with 1218 additions and 219 deletions

View File

@@ -1,7 +1,8 @@
import { Checkbox, CheckboxProps } from '@chakra-ui/react';
import type { ReactNode } from 'react';
type IAICheckboxProps = CheckboxProps & {
label: string;
label: string | ReactNode;
styleClass?: string;
};

View File

@@ -5,13 +5,13 @@ interface IAIInputProps extends InputProps {
styleClass?: string;
label?: string;
width?: string | number;
value: string;
value?: string;
onChange: (e: ChangeEvent<HTMLInputElement>) => void;
}
export default function IAIInput(props: IAIInputProps) {
const {
label,
label = '',
styleClass,
isDisabled = false,
fontSize = 'sm',