Skip to content

Commit b8bf977

Browse files
chore: remove unnecessary code
1 parent d316120 commit b8bf977

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

example/src/App.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ import Entypo from '@expo/vector-icons/Entypo';
1414
import EvilIcons from '@expo/vector-icons/EvilIcons';
1515
import MaskedView from '@react-native-masked-view/masked-view';
1616

17-
const AnimatedLinearGradient = Animated.createAnimatedComponent(LinearGradient);
18-
1917
export default function App() {
2018
return (
2119
<SafeAreaView style={styles.container}>
@@ -63,7 +61,7 @@ export default function App() {
6361
>
6462
{/* Shimmer animation ⬇️ */}
6563
<Animated.View style={[styles.gradientContainer, shimmer]}>
66-
<AnimatedLinearGradient
64+
<LinearGradient
6765
colors={['#e2e8f0', '#f8fafc', '#e2e8f0']}
6866
locations={[0.46, 0.5, 0.54]}
6967
start={{ x: 0, y: -5 }}

0 commit comments

Comments
 (0)