Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor() {
super();
this.state = { slideLeft: new Animated.Value(-1024), fadeIn: new Animated.Value(0)};
}
constructor(props) {
super();
this.state = {
scrollValue: new Animated.Value(0),
scrolling: false,
translation: 0,
};
this.numberOfImages = 19;
this.imageWidth = 3.2;
this.imageGutter = 0.1;
this.offsetX = (this.numberOfImages * this.imageWidth + this.numberOfImages * this.imageGutter) / 2;
this.duration = this.numberOfImages * 750;
}
constructor(props) {
super(props);
this.state = {
yRotation: new Animated.Value(0),
};
}
constructor(props) {
super(props);
this.state = {
slideForward: new Animated.Value(-5),
slideUp: new Animated.Value(-4),
fadeIn: new Animated.Value(0),
};
}
constructor(props) {
super(props);
this.state = {
slideForward: new Animated.Value(-5),
slideUp: new Animated.Value(-4),
fadeIn: new Animated.Value(0),
};
}