'use strict';

var clsx = require('clsx');
var React = require('react');
var InputGroup = require('../../InputGroup.js');
var _common = require('../../_common.js');
var jsxRuntime = require('react/jsx-runtime');

const SelectInputButtonInput = /*#__PURE__*/React.forwardRef(function ButtonInput({
  size = 'md',
  className,
  style,
  ...restProps
}, ref) {
  const inputPaddings = InputGroup.useInputPaddings();
  return /*#__PURE__*/jsxRuntime.jsx("button", {
    ref: ref,
    type: "button",
    className: clsx.clsx(_common.inputClassNameBase({
      size
    }), 'np-button-input', className),
    style: {
      ...inputPaddings,
      ...style
    },
    ...restProps
  });
});

exports.SelectInputButtonInput = SelectInputButtonInput;
//# sourceMappingURL=SelectInputButtonInput.js.map
