import { User as UserIcon, Users as TeamIcon } from 'lucide-react'; import { OptionProps, components, MultiValueGenericProps } from 'react-select'; import { Select } from '@@/form-components/ReactSelect'; import { EnvironmentAccess } from './types'; interface Props { name?: string; value: EnvironmentAccess[]; onChange(value: readonly EnvironmentAccess[]): void; options: EnvironmentAccess[]; dataCy: string; inputId?: string; placeholder?: string; } export function NamespaceAccessUsersSelector({ onChange, options, value, dataCy, inputId, name, placeholder, }: Props) { return (