import * as React from 'react'; import { Pagination } from '@fluentui/react-experiments/lib/Pagination'; export interface IPaginationBasicExampleState { selectedPageIndex: number; } export class PaginationButtonsCustomizationExample extends React.Component<{}, IPaginationBasicExampleState> { constructor(props: {}) { super(props); this.state = { selectedPageIndex: 15 }; } public render(): JSX.Element { return ( ); } private _onPageChange = (index: number): void => { this.setState({ selectedPageIndex: index, }); }; }