Replies: 1 comment
-
I potentially also need this later in a project that I am currently rewriting with Fluent. If there are more who would benefit from this, or / and the Fluent team deems this to be a good contribution, I'd be glad to build and contribute to the project. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This help in handling large data load and saves time for developing custom pagination.
Below is a sample scenario for pagination.
Sample Props
Toolbar
Component as container.Button
component,button
tag with following modifications:HTML
Griffel Styling (using
makeStyles()
)<button className={mergeClasses(eventPageClasses.paginationButton, eventPageClasses.paginationButtonActive)}>1</button>
, theeventPageClasses.paginationButtonActive
should be conditionally activated.Suggestions
truncate
props,circular
(perfect circle where the dimensions of button should be 1:1 - not like the picture above),button
,no-shape
, e.t.c..Toolbar
component for pagination so it can store the basic component and a dropdown that can set data display limit (by passing anumber Array
)Beta Was this translation helpful? Give feedback.
All reactions