Sfoglia il codice sorgente

exporting main class as default export

Naveen Ithapu 5 anni fa
parent
commit
0f86305c48
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      index.d.ts

+ 1
- 1
index.d.ts Vedi File

@@ -26,4 +26,4 @@ export interface AutoHeightWebViewProps extends WebViewProps {
26 26
     customStyle: string;
27 27
 }
28 28
 
29
-export class AutoHeightWebView extends Component<Partial<AutoHeightWebViewProps>> {}
29
+export default class AutoHeightWebView extends Component<Partial<AutoHeightWebViewProps>> {}