Skip to content

Commit

Permalink
export Pagination Parameters directly
Browse files Browse the repository at this point in the history
Co-authored-by: Cole Bemis <colebemis@github.com>
  • Loading branch information
VanAnderson and colebemis authored Feb 18, 2021
1 parent f5479fc commit 21af95e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Pagination/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const PaginationContainer = styled.nav`
${sx};
`

type PaginationParameters = {
export type PaginationProps = {
theme: object
pageCount: number
currentPage: number
Expand Down Expand Up @@ -226,5 +226,4 @@ Pagination.defaultProps = {
theme
}

export type PaginationProps = ComponentProps<typeof Pagination>
export default Pagination

0 comments on commit 21af95e

Please sign in to comment.