import Mapbox from '@rnmapbox/maps';
import React, { forwardRef, memo } from 'react';
/**
 * Image props
 *
 * @category Props
 */

/**
  @category Component
 */
const Image = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((props, ref) => {
  const {
    name,
    scale = 1,
    children
  } = props;
  return /*#__PURE__*/React.createElement(Mapbox.Image, {
    name: name,
    scale: scale
  }, children);
}));
Image.displayName = 'Image';
export default Image;
//# sourceMappingURL=Image.js.map