From 68597aa79b95205c39ec91c595b5384bf7bb6d69 Mon Sep 17 00:00:00 2001 From: shubhamKeyzy Date: Thu, 17 Jul 2025 16:56:26 +0530 Subject: [PATCH] Removed unused functions and aded type --- App.tsx | 80 +------------------ package/src/components/GradientBorderView.tsx | 12 +-- 2 files changed, 7 insertions(+), 85 deletions(-) diff --git a/App.tsx b/App.tsx index 5eb65f2..740a579 100644 --- a/App.tsx +++ b/App.tsx @@ -1,38 +1,9 @@ import MaskedView from '@react-native-masked-view/masked-view'; import {LinearGradient} from 'react-native-linear-gradient'; -import {range} from 'lodash'; import React from 'react'; -import { - ImageBackground, - ScrollView, - StyleSheet, - Text, - View, - ViewProps, -} from 'react-native'; +import {StyleSheet, View, ViewProps} from 'react-native'; import {GradientBorderView} from './package/index'; -function Giraffe() { - return ( - - - - }> - - - ); -} export function FadeOutTopView({ fadeHeight = 100, ...props @@ -69,55 +40,6 @@ export function FadeOutTopView({ ); } -function FadeOut() { - return ( - - - A Fade Effect - - - - {range(10).map(e => ( - - - Title - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do - eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut - enim ad minim veniam, quis nostrud exercitation ullamco laboris - nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor - in reprehenderit in voluptate velit esse cillum dolore eu fugiat - nulla pariatur. - - - ))} - - - - ); -} - const App = () => { return ( ); -} +};