moai icon indicating copy to clipboard operation
moai copied to clipboard

Create @moai/pagination lib

Open lqt93 opened this issue 3 years ago • 5 comments

We should create pagination lib for moaijs to serve different requirements with pagination.

lqt93 avatar Jun 25 '21 17:06 lqt93

@lqt93 could you attach the sample image as when we discussed? The one with many pagination designs

thien-do avatar Jun 25 '21 19:06 thien-do

Below are examples for the pagination library:

Target Layout:

image (3)

Additional Layout:

image

lqt93 avatar Jun 26 '21 03:06 lqt93

Why u assign me @lqt93 :( can you bring the one from weblog? :))

thien-do avatar Jun 28 '21 21:06 thien-do

Then what those components named? 👀 ProPagination, SimplePagination, ExtremePagination...?

monodyle avatar Jun 29 '21 03:06 monodyle

No @monodyle , there should still be one component inside that package, but with much more advanced props/customizations than the one in core

For example, you can choose how many pages to be shown, whether to show a jump or not, or should it use icons or labels

thien-do avatar Jun 29 '21 04:06 thien-do