import React from 'react';
import { Text } from 'react-native';
import { styles } from './styles';
import { Control } from '../Control';
export const Timer = ({ children, toggleTimer, resetControlTimeout, showControls, }) => {
    return (<Control callback={toggleTimer} resetControlTimeout={resetControlTimeout} style={styles.timer} disabled={!showControls}>
      <Text style={styles.timerText}>{children}</Text>
    </Control>);
};
//# sourceMappingURL=Timer.js.map