react-native-text-ticker
Advanced tools
Comparing version 1.11.0 to 1.12.0
@@ -156,7 +156,7 @@ import React, { PureComponent } from 'react' | ||
startAnimation = (timeDelay) => { | ||
startAnimation = () => { | ||
if (this.state.animating) { | ||
return | ||
} | ||
this.start(timeDelay) | ||
this.start() | ||
} | ||
@@ -236,3 +236,3 @@ | ||
start = async (timeDelay) => { | ||
start = async () => { | ||
this.setState({ animating: true }) | ||
@@ -239,0 +239,0 @@ this.setTimeout(async () => { |
{ | ||
"name": "react-native-text-ticker", | ||
"version": "1.11.0", | ||
"version": "1.12.0", | ||
"description": "React Native Text Ticker/Marquee Component", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -32,3 +32,8 @@ declare module 'react-native-text-ticker' { | ||
export default class TextTicker<T> extends React.Component<TextTickerProps> { } | ||
export interface TextTickerRef { | ||
startAnimation(): void; | ||
stopAnimation(): void; | ||
} | ||
export default class TextTicker extends React.Component<TextTickerProps> { } | ||
} |
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
20734
426