/** * * * @author Evgeniy Rusanpv * @date 29.11.2022 */ import * as React from 'react'; import {OptionList} from '../option_list/OptionList'; import {Pagination} from '../table/pagination/Pagination'; import {SIZE} from '../../constants'; import {IOption} from '../select/Select.types'; import * as styles from './paginatedOptionsList.m.scss'; interface IProps { value?: string; size?: SIZE; options: IOption []; goToPage: (pageNum: number) => void; pagesCount: number; onSelect: (value: IOption | null) => void; showUnsetOption?: boolean; unsetText?: string; page: number; } export class PaginatedOptionsList extends React.PureComponent { override render () { return (
{this.props.pagesCount > 1 && (
)}
); } }