You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`style`|`ViewStyle` or `ViewStyle[]`|`undefined`| Custom styles for the Shimmer container. |
42
+
|`linearGradients`|`string[]`|`['transparent', '#FFFFFF30', 'transparent']`| Array of colors for the linear gradient animation. |
43
+
|`easing`|`EasingFunction` (reanimated) |`Easing.linear`| Easing for shimmer time interpolation |
44
+
|`speed`|`number`|`1`| Speed param for multiplying speed of individual shimmer |
45
+
|`gradientStart`|`{ x: number; y: number }`|`{ x: 0, y: 0.5 }`| Start coordinates for the linear gradient. |
46
+
|`gradientEnd`|`{ x: number; y: number }`|`{ x: 1, y: 0.5 }`| End coordinates for the linear gradient. |
36
47
37
48
## Contributing
38
49
@@ -49,3 +60,10 @@ Made with [create-react-native-library](https://github.com/callstack/react-nativ
49
60
## Made with ❤️ at Callstack
50
61
51
62
react-native-fast-shimmer is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Callstack][callstack-readme-with-love] is a group of React and React Native geeks, contact us at [[email protected]](mailto:[email protected]) if you need any help with these or just want to say hi!
0 commit comments