UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

16 lines (15 loc) 391 B
"use client"; import { genVirtualTable } from 'rc-table'; /** * Same as `rc-table` but we modify trigger children update logic instead. */ const RcVirtualTable = genVirtualTable((prev, next) => { const { _renderTimes: prevRenderTimes } = prev; const { _renderTimes: nextRenderTimes } = next; return prevRenderTimes !== nextRenderTimes; }); export default RcVirtualTable;