You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/documentation/docs/controls/FilePicker.md
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -107,8 +107,10 @@ The FilePicker component can be configured with the following properties:
107
107
| includePageLibraries | boolean | no | Specifies if Site Pages library to be visible on Sites tab |
108
108
| allowExternalLinks | boolean | no | Specifies if external links should be allowed. |
109
109
| checkIfFileExists | boolean | no | When using file links, this property allows the user to choose if the control should check if the link point to a file that exists or not. |
110
+
| tabOrder | FilePickerTab[]| no | Defines a custom display order for the tabs. Tabs not listed will follow their default order. |
111
+
| defaultSelectedTab | FilePickerTab | no | Sets the default selected tab. If not specified, the first visible tab is used. |
110
112
111
-
interface`IFilePickerResult`
113
+
Interface`IFilePickerResult`
112
114
113
115
Provides options for carousel buttons ___location.
114
116
@@ -120,4 +122,20 @@ Provides options for carousel buttons ___location.
120
122
| fileSize | number | Size of the result (in bytes). Set only for file upload |
121
123
| downloadFileContent | () => Promise<File>| Function allows to download file content. Returns File object. |
122
124
125
+
Enum `FilePickerTab`
126
+
127
+
Represents the available tabs in the File Picker component. Each tab corresponds to a different source from which users can select files.
0 commit comments