Type '{ children: Element[]; toggleId: P & string; onToggle: (isOpen: any) => void; selections: any; onSelect: (_: MouseEvent<Element, MouseEvent> | undefined, v: string | ... 1 more ... | undefined) => void; ... 298 more ...; disabled?: boolean | undefined; }' is not assignable to type 'IntrinsicAttributes & SelectProps & RefAttributes<any>'.