1
0
Fork 0
react-playground/node_modules/@mui/utils/isHostComponent/isHostComponent.js

13 lines
No EOL
324 B
JavaScript

"use strict";
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 = exports.default = isHostComponent;