import React from "react";
const isComponent = (element, type) => React.isValidElement(element) && element.type === type;
const isComponentWithChildren = (element) => React.isValidElement(element);
function isComponentWithDisplayName(element, displayName) {
	if (!React.isValidElement(element) || typeof element.type === "string") return false;
	return element.type.displayName === displayName;
}
export { isComponentWithChildren as n, isComponentWithDisplayName as r, isComponent as t };

//# sourceMappingURL=component.js.map