import { FormControl, FormLabel, Select, SelectProps } from '@chakra-ui/react'; interface Props extends SelectProps { label: string; styleClass?: string; validValues: | Array | Array<{ key: string; value: string | number }>; } /** * Customized Chakra FormControl + Select multi-part component. */ const IAISelect = (props: Props) => { const { label, isDisabled, validValues, size = 'sm', fontSize = 'md', styleClass, ...rest } = props; return ( {label} ); }; export default IAISelect;