소스 검색

exporting main class as default export

Naveen Ithapu 5 년 전
부모
커밋
0f86305c48
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      index.d.ts

+ 1
- 1
index.d.ts 파일 보기

@@ -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>> {}