UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

33 lines (32 loc) 890 B
import { jsx as a } from "react/jsx-runtime"; import l from "../../../../components/layout/InfiniteTableLayout.js"; import m from "../../../../components/TanStackTable/StyledTanStackTable.js"; import { useMetadataTaskTable as c } from "../hooks/useMetadataTaskTable.js"; function x(o) { const { projectId: s } = o, { table: e, isLoading: t, hasNextPage: r, fetchNextPage: i, isFetchingNextPage: n } = c({ projectId: s }); return /* @__PURE__ */ a( l, { table: /* @__PURE__ */ a( m, { table: e, styledTableContainerProps: { sx: { my: 2 } } } ), isLoading: t, isEmpty: !t && e.getRowModel().rows.length === 0, hasNextPage: r, onFetchNextPageClicked: () => { i(); }, isFetchingNextPage: n } ); } export { x as default }; //# sourceMappingURL=MetadataTasksPage.js.map