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 a711e19 commit f0c628eCopy full SHA for f0c628e
src/components/scrollBar/ScrollBarGradient.js
@@ -17,7 +17,7 @@ const ScrollBarGradient = ({
17
gradientMargins = 0,
18
height,
19
gradientColor = Colors.white,
20
- gradientImage = require('./assets/gradientOverlay.png'),
+ gradientImage = require('./assets/gradientOverlay.png')
21
}) => {
22
const gradientOpacity = useRef(new Animated.Value(0)).current;
23
@@ -32,7 +32,7 @@ const ScrollBarGradient = ({
32
const imageTransform = useMemo(() => {
33
return Constants.isRTL ? (left ? undefined : [{scaleX: -1}]) : left ? [{scaleX: -1}] : undefined;
34
}, [left]);
35
-
+
36
const heightToUse = gradientHeight || height || '100%';
37
return (
38
<View
0 commit comments