"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
var _themed = require("@rneui/themed");
/**
 * DrawControl props
 *
 * @category Props
 */

/**
  @category Component
 */
const DrawControl = props => {
  const {
    onUndo,
    onAdd,
    onFinish
  } = props;
  return /*#__PURE__*/React.createElement(_reactNative.View, {
    style: styles.container
  }, /*#__PURE__*/React.createElement(_themed.Button, {
    onPress: onUndo
  }, "\u64A4\u9500"), /*#__PURE__*/React.createElement(_themed.Button, {
    onPress: () => onAdd()
  }, "\u6DFB\u52A0"), /*#__PURE__*/React.createElement(_themed.Button, {
    onPress: onFinish
  }, "\u5B8C\u6210"));
};
var _default = exports.default = DrawControl;
const styles = _reactNative.StyleSheet.create({
  container: {
    display: 'flex',
    flexDirection: 'row',
    height: 40,
    alignItems: 'center',
    justifyContent: 'center'
  }
});
//# sourceMappingURL=DrawControl.js.map