start the buttons animation
This commit is contained in:
parent
2a5237c024
commit
88ef4fa9ed
1 changed files with 4 additions and 1 deletions
|
|
@ -40,9 +40,12 @@ const FooterButtons = ({
|
|||
}: Props) => {
|
||||
const {width} = useWindowDimensions();
|
||||
const styles = getStyleSheet(theme);
|
||||
const inputRange = [-width, 0, width];
|
||||
|
||||
useEffect(() => {
|
||||
console.log('is last slide');
|
||||
if (isLastSlide) {
|
||||
console.log('is last slide');
|
||||
}
|
||||
}, [isLastSlide]);
|
||||
|
||||
let mainButtonText = (
|
||||
|
|
|
|||
Loading…
Reference in a new issue