"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = HTMLElementType; function HTMLElementType(props, propName, componentName, location, propFullName) { if (process.env.NODE_ENV === 'production') { return null; } var propValue = props[propName]; var safePropName = propFullName || propName; if (propValue == null) { return null; } if (propValue && propValue.nodeType !== 1) { return new Error("Invalid ".concat(location, " `").concat(safePropName, "` supplied to `").concat(componentName, "`. ") + "Expected an HTMLElement."); } return null; }