Skip to content

Commit

Permalink
Merge pull request #5301 from hueter/master
Browse files Browse the repository at this point in the history
Fix TypeScript typing for PageItem
  • Loading branch information
bpas247 committed Jul 17, 2020
2 parents 9406514 + baa3a53 commit 1ecae0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/PageItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export interface PageItemProps
disabled?: boolean;
active?: boolean;
activeLabel?: string;
href?: string;
}

type PageItem = BsPrefixRefForwardingComponent<'li', PageItemProps>;
Expand Down
1 change: 1 addition & 0 deletions tests/simple-types-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,7 @@ const MegaComponent = () => (
disabled
style={style}
onClick={noop}
href="#"
>
{1}
</Pagination.Item>
Expand Down

0 comments on commit 1ecae0b

Please sign in to comment.