import { Team, TeamId } from '@/portainer/teams/types'; import { Select } from '@@/form-components/ReactSelect'; interface Props { name?: string; value: TeamId[]; onChange(value: TeamId[]): void; teams: Team[]; dataCy?: string; inputId?: string; placeholder?: string; } export function TeamsSelector({ name, value, onChange, teams, dataCy, inputId, placeholder, }: Props) { return (