Remove folder picker

This commit is contained in:
blessedcoolant
2022-12-28 06:19:23 +13:00
parent 1a65d43569
commit 7cb2fcf8b4
6 changed files with 42 additions and 34 deletions

View File

@@ -6,6 +6,7 @@ interface IAIInputProps extends InputProps {
label?: string;
width?: string | number;
value?: string;
size?: string;
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
}
@@ -16,6 +17,7 @@ export default function IAIInput(props: IAIInputProps) {
isDisabled = false,
fontSize = 'sm',
width,
size = 'sm',
isInvalid,
...rest
} = props;
@@ -39,7 +41,7 @@ export default function IAIInput(props: IAIInputProps) {
{label}
</FormLabel>
)}
<Input {...rest} className="input-entry" size={'sm'} width={width} />
<Input {...rest} className="input-entry" size={size} width={width} />
</FormControl>
);
}