import React from 'react'; import { Layer, Select, SelectItem } from '@carbon/react'; import { useField } from 'formik'; import { useTranslation } from 'react-i18next'; interface SelectInputProps { name: string; options: Array; label: string; required?: boolean; } export const SelectInput: React.FC = ({ name, options, label, required }) => { const [field] = useField(name); const { t } = useTranslation(); const selectOptions = [