|
@@ -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;
|