import { FormControl, FormLabel, Tooltip } from '@chakra-ui/react'; import { Select, SelectProps } from '@mantine/core'; import { useMantineSelectStyles } from 'mantine-theme/hooks/useMantineSelectStyles'; import { RefObject, memo } from 'react'; export type IAISelectDataType = { value: string; label: string; tooltip?: string; }; export type IAISelectProps = Omit & { tooltip?: string; inputRef?: RefObject; label?: string; }; const IAIMantineSelect = (props: IAISelectProps) => { const { tooltip, inputRef, label, disabled, required, ...rest } = props; const styles = useMantineSelectStyles(); return (