@mui/core
Version:
Unstyled React components with which to implement custom design systems.
16 lines (13 loc) • 336 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
/**
* Determines if a given element is a DOM element name (i.e. not a React component).
*/
function isHostComponent(element) {
return typeof element === 'string';
}
var _default = isHostComponent;
exports.default = _default;