UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

10 lines (8 loc) 220 B
// @ts-nocheck import getNodeName from './getNodeName'; /** * @param element */ export default function isTableElement(element: Element): boolean { return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0; }