isHostComponent.js 200 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 /** * Determines if a given element is a DOM element name (i.e. not a React component). */ function isHostComponent(element) { return typeof element === 'string'; } export default isHostComponent;