diff --git a/example/App.js b/example/App.js index e95290f..e289427 100644 --- a/example/App.js +++ b/example/App.js @@ -1,4 +1,3 @@ -/* eslint-disable react-native/no-inline-styles */ import React, { useCallback, useState } from 'react'; import { StatusBar } from 'expo-status-bar'; import * as WebBrowser from 'expo-web-browser'; @@ -7,7 +6,6 @@ import { Text, View, ScrollView, - UIManager, Platform, Button, useWindowDimensions @@ -23,6 +21,7 @@ import SimpleExample from './SimpleExample'; import CustomExample from './CustomExample'; import YoutubeExample from './YoutubeExample'; import HeuristicTableExample from './HeuristicTableExample'; +import ComparisonExample from './ComparisonExample'; const Stack = createStackNavigator(); @@ -147,6 +146,30 @@ function HeuristicTableScreen({ availableWidth, onLinkPress }) { ); } +function ComparisonScreen({ availableWidth, onLinkPress }) { + const [instance, setInstance] = useState(0); + return ( + + + The same HTML source rendered twice: once with{' '} + @native-html/table-plugin (WebView based) and + once with @native-html/heuristic-table-plugin{' '} + (pure native). + +