"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=E;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends")),_objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties")),_react=_interopRequireDefault(require("react")),_propTypes=_interopRequireDefault(require("prop-types")),_classnames=_interopRequireDefault(require("classnames"));function E(e){var s=e.className,r=e.class,t=e.useClass,l=e.css,p=e.is,a=(0,_objectWithoutProperties2.default)(e,["className","class","useClass","css","is"]);return _react.default.createElement(p,(0,_extends2.default)({className:(0,_classnames.default)(t||"dnb-".concat(p),s,r,l)},a))}E.propTypes="production"!==process.env.NODE_ENV?{is:_propTypes.default.string.isRequired,className:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.object]),class:_propTypes.default.string,useClass:_propTypes.default.string,css:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.object]),children:_propTypes.default.node}:{},E.defaultProps={className:null,class:null,useClass:null,css:null,children:null};
//# sourceMappingURL=Element.js.map
