How to use mgt-people-picker in react framework
问题 I'm trying to use mgt-people-picker inside my SPFx Webpart with React framework, and couldn't get the selected-people attribute work. I tried passing an array of graph user objects to it but no luck. When I tried to use document.querySelector('mgt-people-picker').selectUsersById(["id","id"]) it threw an error saying "Property 'selectUsersById' does not exist on type 'Element'" The documentation is quite limited and unclear and there isn't much reference that I could find. Can anyone tell me