"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _react = _interopRequireDefault(require("react"));

var _v = require("@native-base/v3");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const IconButton = ({
  icon,
  ...props
}) => {
  const newProps = (0, _v.usePropsConfig)('IconButton', props);
  return /*#__PURE__*/_react.default.createElement(_v.Button, newProps, icon);
};

var _default = IconButton;
exports.default = _default;
//# sourceMappingURL=index.js.map