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" ;
22
33// Option is correct about pick
44
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ declare module 'react-native-document-picker' {
4141 fileSize : string ;
4242 }
4343 type Platform = 'ios' | 'android' | 'windows'
44- export class DocumentPicker < OS extends keyof PlatformTypes = Platform > {
44+ export default class DocumentPicker < OS extends keyof PlatformTypes = Platform > {
4545 static types : PlatformTypes [ 'ios' ] | PlatformTypes [ 'android' ] | PlatformTypes [ 'windows' ]
4646 static pick < OS extends keyof PlatformTypes = Platform > (
4747 options : DocumentPickerOptions < OS >
You can’t perform that action at this time.
0 commit comments