import { Flex, FormControl, FormLabel, Select, SelectProps, Text, } from '@chakra-ui/react'; interface Props extends SelectProps { label: string; validValues: | Array | Array<{ key: string; value: string | number }>; } const SDSelect = (props: Props) => { const { label, isDisabled, validValues, size = 'sm', fontSize = 'md', marginBottom = 1, whiteSpace = 'nowrap', ...rest } = props; return ( {label} ); }; export default SDSelect;