"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = DoneButton;
var _reactNative = require("react-native");
var _styles = require("./styles");
function DoneButton({
  onDonePressed,
  buttonTxt
}) {
  const buttonText = buttonTxt ?? 'Done';
  const styles = (0, _styles.useStyles)();
  return /*#__PURE__*/React.createElement(_reactNative.TouchableOpacity, {
    onPress: onDonePressed
  }, /*#__PURE__*/React.createElement(_reactNative.View, {
    style: styles.icon
  }, /*#__PURE__*/React.createElement(_reactNative.Text, {
    style: styles.doneText
  }, buttonText)));
}
//# sourceMappingURL=index.js.map