New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-text-ticker

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-text-ticker - npm Package Compare versions

Comparing version 0.13.0 to 0.14.0

8

index.js

@@ -26,2 +26,3 @@ import React, { PureComponent } from 'react'

marqueeDelay: PropTypes.number,
isInteraction: PropTypes.bool,
useNativeDriver: PropTypes.bool,

@@ -44,2 +45,3 @@ onMarqueeComplete: PropTypes.func,

marqueeDelay: 0,
isInteraction: true,
useNativeDriver: true,

@@ -88,2 +90,3 @@ repeatSpacer: 50,

loop,
isInteraction,
useNativeDriver,

@@ -100,2 +103,3 @@ repeatSpacer,

easing: easing,
isInteraction: isInteraction,
useNativeDriver: useNativeDriver

@@ -117,3 +121,3 @@ }).start(({ finished }) => {

animateBounce = () => {
const {duration, marqueeDelay, loop, useNativeDriver, easing, children} = this.props
const {duration, marqueeDelay, loop, isInteraction, useNativeDriver, easing, children} = this.props
this.setTimeout(() => {

@@ -125,2 +129,3 @@ Animated.sequence([

easing: easing,
isInteraction: isInteraction,
useNativeDriver: useNativeDriver

@@ -132,2 +137,3 @@ }),

easing: easing,
isInteraction: isInteraction,
useNativeDriver: useNativeDriver

@@ -134,0 +140,0 @@ })

2

package.json
{
"name": "react-native-text-ticker",
"version": "0.13.0",
"version": "0.14.0",
"description": "React Native Text Ticker/Marquee Component",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -57,2 +57,3 @@ # react-native-text-ticker

justifyContent: 'center',
alignItems: 'center',
},

@@ -74,2 +75,3 @@ });

| onMarqueeComplete | function | true | - | This function will run after the text has completely passed across the screen. Will run repeatedly if `loop` is enabled.
| isInteraction | boolean | true | true | Whether or not animations create an interaction handle on the `InteractionManager`. Disable if you are having issues with VirtualizedLists not rendering properly.
| useNativeDriver | boolean | true | true | Use native animation driver, should remain true for large majority of use-cases

@@ -76,0 +78,0 @@ | repeatSpacer | number | true | 50 | The space between the end of your text string ticker and the beginning of it starting again.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc