import React from 'react'; import type { OtherHTMLAttributes, PickPropsWithExceptions, PropValidators } from '@instructure/shared-types'; import type { BaseButtonProps } from '@instructure/ui-buttons'; type PaginationPageOwnProps = { /** * Content to render as page selection */ children: React.ReactNode; /** * Whether the page is currently displayed */ current?: boolean; /** * Callback fired when the `Pagination.Page` is clicked. */ onClick?: (event: React.KeyboardEvent | React.MouseEvent | React.FocusEvent) => void; /** * The text screenreaders should say when this button is in focus (sets the * `aria-label` attribute). * If left undefined (default) SRs will announce text in the child node(s). */ screenReaderLabel?: string; }; type PropKeys = keyof PaginationPageOwnProps; type AllowedPropKeys = Readonly>; type PaginationPageProps = PickPropsWithExceptions & PaginationPageOwnProps & OtherHTMLAttributes; declare const propTypes: PropValidators; declare const allowedProps: AllowedPropKeys; export type { PaginationPageProps }; export { propTypes, allowedProps }; //# sourceMappingURL=props.d.ts.map