function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
import React, { Component } from "react";
import { View } from "react-native";
class DropDownMenu extends Component {
  constructor(...args) {
    super(...args);
    _defineProperty(this, "state", {});
  }
  render() {
    if (!this.props.visible) {
      return null;
    }
    return /*#__PURE__*/React.createElement(View, {
      style: [styles.container, this.props.style]
    }, this.props.children);
  }
}
const styles = {
  container: {
    borderRadius: 2,
    shadowColor: "#000",
    shadowOffset: {
      width: 0,
      height: 2
    },
    shadowOpacity: 0.2,
    shadowRadius: 4,
    elevation: 4,
    zIndex: 10,
    backgroundColor: "#fff",
    padding: 16,
    paddingVertical: 14,
    position: "absolute",
    right: 0,
    top: 0
  }
};
export { DropDownMenu };
//# sourceMappingURL=DropDownMenu.js.map