Skip to content

Commit 8687248

Browse files
committed
Update new FilePicker props with better description
1 parent 3892d2b commit 8687248

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/controls/filePicker/IFilePickerProps.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,12 @@ export interface IFilePickerProps {
178178
checkIfFileExists?: boolean;
179179
/**
180180
* Specifies tab order
181-
* default ["keyRecent", "keyStockImages", "keyWeb", "keyOrgAssets", "keyOneDrive", "keySite", "keyUpload", "keyLink", "keyMultipleUpload"]
181+
* Default [FilePickerTab.Recent, FilePickerTab.StockImages, FilePickerTab.Web, FilePickerTab.OrgAssets, FilePickerTab.OneDrive, FilePickerTab.Site, FilePickerTab.Upload, FilePickerTab.Link, FilePickerTab.MultipleUpload]
182182
*/
183183
tabOrder?: FilePickerTab[];
184184
/**
185185
* Specifies default selected tab
186-
* One of the keys from tabOrder
187-
* One of ["keyRecent", "keyStockImages", "keyWeb", "keyOrgAssets", "keyOneDrive", "keySite", "keyUpload", "keyLink", "keyMultipleUpload"]
186+
* One of the values from the FilePickerTab enum: Recent, StockImages, Web, OrgAssets, OneDrive, Site, Upload, Link, or MultipleUpload.
188187
*/
189188
defaultSelectedTab?: FilePickerTab;
190189
}

0 commit comments

Comments
 (0)