Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update doc, add pagination spread props #237

Merged
merged 2 commits into from
Jan 17, 2019

Conversation

chrismanciero
Copy link
Contributor

include displayTotalProps and linkProps in the documentation for Pagination component

Copy link
Contributor

@greg-a-smith greg-a-smith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging blocked until fundamental-bot admin rights are restored.

'object - additional props to be spread to the display total section'
},
{
name: 'linkProps',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed the original PR (#224), but should we have two separate props for the "previous" and "next" links?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Separate props as in a prevNextProps which is different than the linkProps or as in prevProps and nextProps

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was asking about prevProps and nextProps.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, i just added a prevProps and nextProps values to the pagination control

Copy link
Contributor

@greg-a-smith greg-a-smith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. 🚢

@chrismanciero chrismanciero merged commit 5e3932f into master Jan 17, 2019
@chrismanciero chrismanciero deleted the fix/pagination-doc branch January 17, 2019 19:03
greg-a-smith pushed a commit that referenced this pull request Mar 5, 2019
* fix: update doc, add pagination spread props

* added prevProps and nextProps properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants