UNPKG

@vlsergey/react-bootstrap-pagetable

Version:

Complex solution to work with pageable data, including sorting, filtering, actions, changing displayed columns, etc.

10 lines (9 loc) 467 B
import React from 'react'; import { useControlledContext } from './ControlledContext'; var DefaultNoContentRow = function () { var visibleFields = useControlledContext().visibleFields; return React.createElement("tr", null, React.createElement("td", { colSpan: visibleFields.length }, React.createElement("em", null, "no content on this page, select another page to display"))); }; export default React.memo(DefaultNoContentRow);