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

feat: Add option to change sort order and set default to desc #14

Merged
merged 1 commit into from
Jul 17, 2020

Conversation

alexbrazier
Copy link
Owner

@alexbrazier alexbrazier commented Jul 7, 2020

Closes #6

This adds the option to set the sort order by passing it in as a prop:

Newest at the top (default)

<NetworkLogger sort="desc" />

Newest at the bottom

<NetworkLogger sort="asc" />

This changes the default sort order - is this a sensible default?

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.

Change sorting order
1 participant