1import {State} from 'react-native-track-player'; 2 3export default (state: State) => state !== State.Playing; 4