Description
Category
[x] Bug
Version
[3.20.0]
Expected / Desired Behavior / Question
I should be able to use the new UserPicker
control importing it like import {} from "@pnp/spfx-controls-react/lib/UserPicker";
Observed Behavior
It does not work. Currently I need to specify the full path to the control like import {} from "@pnp/spfx-controls-react/lib/controls/userPicker/UserPicker";
I think in the src
folder we are missing a UserPicker.ts
file with the following content:
export * from './controls/userpicker/index';
We also don't see this control in docs
The page (url) works https://pnp.github.io/sp-dev-fx-controls-react/controls/UserPicker/
It is just not present in the left side menu
this is most probably due to the fact the mkdocs.yml was not extended in the nav -> Controls
we should add something like
- UserPicker: 'controls/UserPicker.md'
BTW the page has some strange glitch as well
BTW 2 the imagePicker docs added in the same build are missing as well, the same reason
Based on feed from PnP Discord server: https://discord.com/channels/1095788595010338956/1096363547505733632/1318921197765001248