import { User, UserId } from '@/portainer/users/types'; import { Select } from '@@/form-components/ReactSelect'; interface Props { name?: string; value: UserId[]; onChange(value: UserId[]): void; users: User[]; dataCy: string; inputId?: string; placeholder?: string; disabled?: boolean; } export function UsersSelector({ name, value, onChange, users, dataCy, inputId, placeholder, disabled, }: Props) { return (