import _extends from "@babel/runtime/helpers/extends";

/**
 * HTML Element
 *
 */
import React from 'react';
import PropTypes from 'prop-types';
import E from './Element';

const Img = p => React.createElement(E, _extends({
  is: "img"
}, p));

Img.tagName = 'dnb-img';
Img.propTypes = process.env.NODE_ENV !== "production" ? {
  src: PropTypes.string.isRequired,
  children: PropTypes.node
} : {};
Img.defaultProps = {
  children: null
};
export default Img;