Skip to content

Commit a2a06a0

Browse files
committed
correct documentation for FolderPicker import
1 parent 33b5eae commit a2a06a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/documentation/docs/controls/FolderPicker.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ Here is an example of the control:
2525
- Import the control into your component:
2626

2727
```TypeScript
28-
import { FolderPicker, IFolder } from "@pnp/spfx-controls-react/lib/FolderPicker";
28+
import FolderPicker from "@pnp/spfx-controls-react/lib/controls/folderPicker/FolderPicker";
29+
import { IFolder } from "@pnp/spfx-controls-react/lib/FolderPicker";
2930
```
3031

3132
- Use the `FolderPicker` control in your code as follows:

0 commit comments

Comments
 (0)