import { Autocomplete, AutocompleteItem } from "@nextui-org/react"; import { useTranslation } from "react-i18next"; import { I18nKey } from "#/i18n/declaration"; interface SecurityAnalyzerInputProps { isDisabled: boolean; defaultValue: string; securityAnalyzers: string[]; } export function SecurityAnalyzerInput({ isDisabled, defaultValue, securityAnalyzers, }: SecurityAnalyzerInputProps) { const { t } = useTranslation(); return (
{securityAnalyzers.map((analyzer) => ( {analyzer} ))}
); }