import { View, StyleSheet } from 'react-native';
import { Button } from '@rneui/themed';
/**
 * DrawControl props
 *
 * @category Props
 */

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