We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d316120 commit b8bf977Copy full SHA for b8bf977
example/src/App.tsx
@@ -14,8 +14,6 @@ import Entypo from '@expo/vector-icons/Entypo';
14
import EvilIcons from '@expo/vector-icons/EvilIcons';
15
import MaskedView from '@react-native-masked-view/masked-view';
16
17
-const AnimatedLinearGradient = Animated.createAnimatedComponent(LinearGradient);
18
-
19
export default function App() {
20
return (
21
<SafeAreaView style={styles.container}>
@@ -63,7 +61,7 @@ export default function App() {
63
61
>
64
62
{/* Shimmer animation ⬇️ */}
65
<Animated.View style={[styles.gradientContainer, shimmer]}>
66
- <AnimatedLinearGradient
+ <LinearGradient
67
colors={['#e2e8f0', '#f8fafc', '#e2e8f0']}
68
locations={[0.46, 0.5, 0.54]}
69
start={{ x: 0, y: -5 }}
0 commit comments