'use strict';

var React = require('react');
var jsxRuntime = require('react/jsx-runtime');

const PolymorphicWithOverrides = /*#__PURE__*/React.forwardRef(function PolymorphicWithOverrides({
  __overrides,
  ...restProps
}, ref) {
  const {
    as: Element,
    ...restOverrides
  } = __overrides;
  return /*#__PURE__*/jsxRuntime.jsx(Element, {
    ref: ref,
    ...restProps,
    ...restOverrides
  });
});

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