react-native-text-ticker
Advanced tools
Comparing version 1.8.0 to 1.9.0
@@ -44,3 +44,3 @@ import React, { PureComponent } from 'react' | ||
easing: PropTypes.func, | ||
animationType: PropTypes.string, // (values should be from AnimationType, 'auto', 'scroll', 'bounce') | ||
animationType: PropTypes.oneOf('auto', 'scroll', 'bounce'), // (values should be from AnimationType, 'auto', 'scroll', 'bounce') | ||
bounceSpeed: PropTypes.number, // Will be ignored if you set duration directly. | ||
@@ -47,0 +47,0 @@ scrollSpeed: PropTypes.number, // Will be ignored if you set duration directly. |
{ | ||
"name": "react-native-text-ticker", | ||
"version": "1.8.0", | ||
"version": "1.9.0", | ||
"description": "React Native Text Ticker/Marquee Component", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
declare module 'react-native-text-ticker' { | ||
import React from 'react'; | ||
import { StyleProp, TextProps, TextStyle } from 'react-native'; | ||
import { StyleProp, TextProps, TextStyle, EasingFunction } from 'react-native'; | ||
@@ -15,11 +15,17 @@ export interface TextTickerProps extends TextProps { | ||
marqueeDelay?: number; | ||
bounceDelay?: number; | ||
isInteraction?: boolean; | ||
useNativeDriver?: boolean; | ||
repeatSpacer?: number; | ||
easing?: (value: number) => number; | ||
animationType?: string; | ||
easing?: EasingFunction; | ||
animationType?: 'auto' | 'scroll' | 'bounce'; | ||
scrollSpeed?: number; | ||
bounceSpeed?: number; | ||
shouldAnimateTreshold?: number; | ||
isRTL: boolean; | ||
isRTL?: boolean; | ||
bouncePadding?: { | ||
left?: number; | ||
right?: number; | ||
} | ||
disabled?: boolean; | ||
} | ||
@@ -26,0 +32,0 @@ |
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
20653
422