-
Notifications
You must be signed in to change notification settings - Fork 352
Closed
Labels
Milestone
Description
For the "selectionChanged" event on PeoplePicker component and others such as TeamsChannelPicker, the Typescript typing for the event property is not specified past the global React "Event" type.
Could somebody help to clarify the expected event structure in Typescript?
From "react.ts" in generated node_modules:
export type PeoplePickerProps = {
groupId?: string;
type?: PersonType;
groupType?: GroupType;
transitiveSearch?: boolean;
people?: IDynamicPerson[];
selectedPeople?: IDynamicPerson[];
defaultSelectedUserIds?: string[];
placeholder?: string;
selectionMode?: string;
showMax?: number;
disabled?: boolean;
templateContext?: TemplateContext;
mediaQuery?: ComponentMediaQuery;
selectionChanged?: (e: Event) => void;
}
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done ✔️