Jesus sucks

This commit is contained in:
2024-12-17 13:23:11 -08:00
parent 3a3382ffff
commit b2dbf46d28
13060 changed files with 1310035 additions and 1 deletions

View File

@@ -0,0 +1 @@
export { default } from './isHostComponent';

View File

@@ -0,0 +1,13 @@
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function () {
return _isHostComponent.default;
}
});
var _isHostComponent = _interopRequireDefault(require("./isHostComponent"));

View File

@@ -0,0 +1,6 @@
import * as React from 'react';
/**
* Determines if a given element is a DOM element name (i.e. not a React component).
*/
declare function isHostComponent(element: React.ElementType): boolean;
export default isHostComponent;

View File

@@ -0,0 +1,13 @@
"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;

View File

@@ -0,0 +1,6 @@
{
"sideEffects": false,
"module": "../esm/isHostComponent/index.js",
"main": "./index.js",
"types": "./index.d.ts"
}