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(Pagination): add disabled property #1939

Merged
merged 1 commit into from
Feb 6, 2017
Merged

fix(Pagination): add disabled property #1939

merged 1 commit into from
Feb 6, 2017

Conversation

mthuret
Copy link
Contributor

@mthuret mthuret commented Feb 2, 2017

see #1938

@@ -53,6 +53,7 @@ export default class LinkList extends Component {
item.disabled && 'itemDisabled',
item.modifier
)}
disabled={item.disabled}
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the effect of putting disabled on the <li>?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That way our disabled style mixin is really used.

pagination-disabled

Copy link
Contributor

Choose a reason for hiding this comment

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

Just discovered this, will use it in the previous PR about disabled widget states :)

@vvo vvo merged commit 5f20199 into v2 Feb 6, 2017
@vvo vvo deleted the fix/pagination-disabled branch February 6, 2017 13:03
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