7

我已经使用此链接 https://developer.microsoft.com/en-us/fluentui#/controls/web/detailslist创建了示例

现在我想在网格中添加分页。请让我知道步骤。

4

1 回答 1

0

您可以使用import { Pagination } from '@uifabric/experiments';

  <Pagination
        selectedPageIndex={page}
        pageCount={pageCount}
        onPageChange={onPageChange}
        format
        firstPageIconProps={{ iconName: 'DoubleChevronLeft' }}
        previousPageIconProps={{ iconName: 'ChevronLeft' }}
        nextPageIconProps={{ iconName: 'ChevronRight' }}
        lastPageIconProps={{ iconName: 'DoubleChevronRight' }}
    />
于 2020-11-25T10:04:32.793 回答