File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
- import { DocumentPicker } from "react-native-document-picker" ;
1
+ import DocumentPicker from "react-native-document-picker" ;
2
2
3
3
// Option is correct about pick
4
4
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ declare module 'react-native-document-picker' {
41
41
fileSize : string ;
42
42
}
43
43
type Platform = 'ios' | 'android' | 'windows'
44
- export class DocumentPicker < OS extends keyof PlatformTypes = Platform > {
44
+ export default class DocumentPicker < OS extends keyof PlatformTypes = Platform > {
45
45
static types : PlatformTypes [ 'ios' ] | PlatformTypes [ 'android' ] | PlatformTypes [ 'windows' ]
46
46
static pick < OS extends keyof PlatformTypes = Platform > (
47
47
options : DocumentPickerOptions < OS >
You can’t perform that action at this time.
0 commit comments