import { FormControl, FormLabel, Input, InputProps } from '@chakra-ui/react'; import { ChangeEvent } from 'react'; interface IAIInputProps extends InputProps { styleClass?: string; label?: string; width?: string | number; value?: string; onChange: (e: ChangeEvent) => void; } export default function IAIInput(props: IAIInputProps) { const { label = '', styleClass, isDisabled = false, fontSize = 'sm', width, isInvalid, ...rest } = props; return ( {label} ); }