start the buttons animation

This commit is contained in:
Pablo Velez Vidal 2022-11-01 12:58:59 +01:00
parent 2a5237c024
commit 88ef4fa9ed

View file

@ -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 = (