我已经使用此链接 https://developer.microsoft.com/en-us/fluentui#/controls/web/detailslist创建了示例
现在我想在网格中添加分页。请让我知道步骤。
我已经使用此链接 https://developer.microsoft.com/en-us/fluentui#/controls/web/detailslist创建了示例
现在我想在网格中添加分页。请让我知道步骤。
您可以使用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' }}
/>