Skip to content

Commit

Permalink
fix(pagination-bar): we forgot to add the ref argument
Browse files Browse the repository at this point in the history
  • Loading branch information
bryceosterhaus committed Oct 14, 2019
1 parent 3be043e commit 50a61c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/clay-pagination-bar/src/PaginationBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@ type TPaginationBar = React.ForwardRefExoticComponent<
};

const ClayPaginationBar = React.forwardRef(
({children, className, size, ...otherProps}: IProps) => {
({children, className, size, ...otherProps}: IProps, ref) => {
return (
<div
className={classNames('pagination-bar', className, {
[`pagination-${size}`]: size,
})}
{...otherProps}
ref={ref}
>
{children}
</div>
Expand Down

0 comments on commit 50a61c8

Please sign in to comment.