react-native-lahk-marquee-label
Advanced tools
Comparing version 1.1.3 to 1.1.4
23
index.js
@@ -65,13 +65,13 @@ import React, { Component } from 'react'; | ||
toValue: -textWidth, | ||
duration: duration, | ||
useNativeDriver: true, | ||
easing: Easing.linear | ||
duration: duration, | ||
useNativeDriver: true, | ||
easing: Easing.linear | ||
}) | ||
}, () => { | ||
this.state.animation.start(() => { | ||
this.setState({ | ||
animation: null | ||
}) | ||
}) | ||
}) | ||
} else { | ||
animation.start(() => { | ||
this.setState({ | ||
animation: null | ||
}) | ||
}); | ||
} | ||
@@ -81,3 +81,2 @@ } | ||
textOnLayout(e) { | ||
@@ -98,3 +97,3 @@ this.setState({ | ||
const { | ||
bgViewStyle, // Backgound View Custom Styles | ||
bgViewStyle, // Background View Custom Styles | ||
textStyle, // Text Custom Styles | ||
@@ -172,2 +171,2 @@ | ||
} | ||
}; | ||
}; |
{ | ||
"name": "react-native-lahk-marquee-label", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "A react-native marquee label component.", | ||
@@ -19,2 +19,6 @@ "main": "index.js", | ||
"author": "CHENGKANG", | ||
"contributors": [ | ||
"https://github.com/cheng-kang", | ||
"https://github.com/AmilsonJunior" | ||
], | ||
"license": "ISC", | ||
@@ -21,0 +25,0 @@ "bugs": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11020
152
4