Browse Source

corrected interface name for files

Naveen Ithapu 5 years ago
parent
commit
921eec59e8
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      index.d.ts

+ 2
- 2
index.d.ts View File

6
 import { WebViewProps } from "react-native-webview";
6
 import { WebViewProps } from "react-native-webview";
7
 import {ViewStyle} from "react-native";
7
 import {ViewStyle} from "react-native";
8
 
8
 
9
-export interface StylesFiles {
9
+export interface StylesFile {
10
     href: string;
10
     href: string;
11
     type: string;
11
     type: string;
12
     rel: string;
12
     rel: string;
20
 export interface AutoHeightWebViewProps extends WebViewProps {
20
 export interface AutoHeightWebViewProps extends WebViewProps {
21
     onSizeUpdated: (size: SizeUpdate)=>void;
21
     onSizeUpdated: (size: SizeUpdate)=>void;
22
     baseUrl: string;
22
     baseUrl: string;
23
-    files: StylesFiles[];
23
+    files: StylesFile[];
24
     style: ViewStyle;
24
     style: ViewStyle;
25
     customScript: string;
25
     customScript: string;
26
     customStyle: string;
26
     customStyle: string;