MCPcopy Index your code
hub / github.com/TanStack/table / isExoticComponent

Function isExoticComponent

packages/react-table/src/index.tsx:49–55  ·  view source on GitHub ↗
(component: any)

Source from the content-addressed store, hash-verified

47}
48
49function isExoticComponent(component: any) {
50 return (
51 typeof component === 'object' &&
52 typeof component.$$typeof === 'symbol' &&
53 ['react.memo', 'react.forward_ref'].includes(component.$$typeof.description)
54 )
55}
56
57export function useReactTable<TData extends RowData>(
58 options: TableOptions<TData>,

Callers 1

isReactComponentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected