-
Notifications
You must be signed in to change notification settings - Fork 9
new(component): AdvancedTable #28
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
Conversation
A5HM49
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
runnabro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, just some minor feedback :)
| > | ||
| {col.replace(/_/g, ' ').replace(/^./, (c) => c.toUpperCase())} | ||
| {idx === 0 && sortOrder === 'asc' && <i className="fa fa-arrow-up pl-2 text-[10px] font-bold" />} | ||
| {idx === 0 && (sortOrder === 'desc' || sortOrder === null) && <i className="fa fa-arrow-down pl-2 text-[10px] font-bold" />} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks a little off-center to me in your ss!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated the ss!
AdvancedTable
Overview
AdvancedTables can be used to interact with tabular data. It supports real-time filtering, column sorting, pagination for large datasets, and CSV exporting.
Usage
Props
data