-
Notifications
You must be signed in to change notification settings - Fork 87
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 cursors where applicable #133
Conversation
FE-40 Add pointer cursor on buttons and links
The pagination component should show a pointer cursor on the prev and next buttons when they are they are enabled. This should respect the disabled props. The task should impact:
|
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.
> | ||
{isLoading ? ( | ||
<Spinner color="current" size={getIconSize(size, iconSize)} /> | ||
) : ( | ||
<Icon | ||
className={cx(iconClassName, 'cursor-pointer')} | ||
className={iconClassName} |
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.
you need to keep the cx(
here right?
className={iconClassName} | |
className={cx(iconClassName)} |
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.
no I don't think we need cx here. If you look here iconClassName was not initially wrapped with cx. I believe cx is used when we want to add classes to an existing class.
closes FE-40