Skip to content

Commit e57b1b9

Browse files
authored
docs: update pickDirectory
1 parent 4173790 commit e57b1b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ See [this](./install-old.md)
3636

3737
## API
3838

39+
#### [Android only] `DocumentPicker.pickDirectory()`
40+
41+
Open a system directory picker. Returns a promise that resolves to (`{ uri: string }`) of the directory selected by user.
42+
3943
#### `DocumentPicker.pick(options)` and `DocumentPicker.pickMultiple(options)`
4044

4145
Use `pick` or `pickMultiple` to open a document picker for the user to select file(s). Both methods return a Promise. `pick` will only allow a single selection and the Promise will resolve to that single result. `pickMultiple` will allow multiple selection and the Promise returned will always resolve to an array of results.
@@ -108,10 +112,6 @@ The file size of the document. _On Android some DocumentProviders may not provid
108112
The base64 encoded content of the picked file if the option `readContent` was set to `true`.
109113

110114

111-
#### [Android only] `DocumentPicker.pickDirectory(options)`
112-
113-
Open a system directory picker. Returns a promise that resolves to the directory selected by user.
114-
115115
### Result
116116

117117
##### `uri`:

0 commit comments

Comments
 (0)