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