From 85a9a1472fc9e4d6f4df434a89e1493d10d15e95 Mon Sep 17 00:00:00 2001 From: Krzysztof Moch Date: Mon, 20 Jan 2025 13:28:27 +0100 Subject: [PATCH] chore: lint code --- example/src/App.tsx | 51 ++++++++++++++++++++--------------- src/index.tsx | 2 +- src/types/VideoConfig.ts | 4 +-- src/types/VideoInformation.ts | 10 +++++-- src/utils/factory.ts | 27 ++++++++++++------- src/utils/useVideoPlayer.ts | 29 +++++++++----------- 6 files changed, 71 insertions(+), 52 deletions(-) diff --git a/example/src/App.tsx b/example/src/App.tsx index 3be6941c..dd7364a0 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { Button, Dimensions, Platform, StyleSheet, View } from 'react-native'; +import { Button, Dimensions, StyleSheet, View } from 'react-native'; import { VideoView, createSource, useVideoPlayer } from 'react-native-video'; export default function App() { @@ -10,32 +10,39 @@ export default function App() { return ( - {/* */} - {/* Two VideoViews with same player are supported not supported on Android */} - {show && ( - - )} + {show && }