Created
December 19, 2014 12:20
-
-
Save maxim-s/f870f6068efe6e8f2001 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ReactBootstrap.Pager>{ | |
for page in [1..@state.pagination.num_pages] | |
if page == @state.pagination.current_page | |
<ReactBootstrap.PageItem disabled href="##{page}">{page}</ReactBootstrap.PageItem> | |
else | |
<ReactBootstrap.PageItem eventKey={page} onSelect={@handleSelect} href="##{page}">{page}</ReactBootstrap.PageItem> | |
} | |
</ReactBootstrap.Pager> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment