import React from 'react';
import { Image, StyleSheet } from 'react-native';
import { Control } from './Control';
export const Fullscreen = ({ isFullscreen, toggleFullscreen, resetControlTimeout, showControls, }) => {
    let source = isFullscreen
        ? require('../assets/img/shrink.png')
        : require('../assets/img/expand.png');
    return (<Control callback={toggleFullscreen} resetControlTimeout={resetControlTimeout} style={styles.fullscreen} disabled={!showControls}>
      <Image source={source}/>
    </Control>);
};
const styles = StyleSheet.create({
    fullscreen: {
        flexDirection: 'row',
    },
});
//# sourceMappingURL=Fullscreen.js.map