import React from 'react'; import { View, Text, TouchableOpacity, StyleSheet } from 'react-native'; export type DefaultFooterProps = { onDone?: () => any; onRotate?: () => any; onCancel?: () => any; doneText: string; rotateText: string; cancelText: string; }; const DefaultFooter: React.FC = props => ( {props.cancelText} {props.rotateText} {props.doneText} ); export { DefaultFooter }; const styles = StyleSheet.create({ buttonsContainer: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between', height: '100%', }, text: { color: 'white', fontSize: 16, }, touchable: { padding: 10, }, });