how to call function from another js file in react native

JavaScript
//slideshow.js
export const plusSlides = (n)=>{
    showSlides(slideIndex += n);
}
Source

Also in JavaScript: