import { TouchableOpacity, View, Text } from 'react-native';
import { useStyles } from './styles';
export default function DoneButton({
  onDonePressed,
  buttonTxt
}) {
  const buttonText = buttonTxt ?? 'Done';
  const styles = useStyles();
  return /*#__PURE__*/React.createElement(TouchableOpacity, {
    onPress: onDonePressed
  }, /*#__PURE__*/React.createElement(View, {
    style: styles.icon
  }, /*#__PURE__*/React.createElement(Text, {
    style: styles.doneText
  }, buttonText)));
}
//# sourceMappingURL=index.js.map