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

[HPCG-329] pagination component #1

Merged
merged 1 commit into from
Apr 10, 2023
Merged

Conversation

glitchy
Copy link
Collaborator

@glitchy glitchy commented Apr 6, 2023

adding pagination component

@glitchy glitchy requested review from bcmcmill and jwhittle933 April 6, 2023 20:54
@glitchy glitchy changed the title adding pagination component [HPCG-329] pagination component Apr 6, 2023
#[derive(Properties, Clone, PartialEq)]
pub struct Props {
#[prop_or_default]
pub callback: Callback<u32>,
Copy link
Collaborator

@jwhittle933 jwhittle933 Apr 10, 2023

Choose a reason for hiding this comment

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

I would name this prop something more informative in the callback style, on_click_page or on_select_page. Something like that.

@glitchy glitchy force-pushed the lj/pagination-component branch 3 times, most recently from 986e933 to 2ebde70 Compare April 10, 2023 18:19
@glitchy glitchy force-pushed the lj/pagination-component branch from 2ebde70 to ce88f04 Compare April 10, 2023 18:23
@bcmcmill bcmcmill merged commit 8501c19 into main Apr 10, 2023
@bcmcmill bcmcmill deleted the lj/pagination-component branch April 10, 2023 23:25
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.

3 participants