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

chore: swap default expand icon for collapse component #491

Merged
merged 3 commits into from
Dec 19, 2024

Conversation

tibuurcio
Copy link
Collaborator

Summary

This PR sets the default icons for the Collapse component usage and fix table advanced filters docs to use it.

Testing Plan

  • Was this tested locally? If not, explain why.

Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)

@tibuurcio tibuurcio requested a review from gabyzif November 14, 2024 20:00
Copy link

github-actions bot commented Nov 14, 2024

PR Preview Action v1.4.8
Preview removed because the pull request was closed.
2024-12-19 22:41 UTC

<AntCollapse {...props} />
<AntCollapse
expandIcon={({ isActive }): React.JSX.Element =>
isActive ? <Icon name="dropdownOpen" size="sm" /> : <Icon name="next" size="sm" />
Copy link
Collaborator

Choose a reason for hiding this comment

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

why does the native ant icon not work for us?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's a different chevron, same as the Select component. Our chevron came from Design and looks better IMO
image
image

Copy link
Collaborator

Choose a reason for hiding this comment

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

it does look better indeed

@tibuurcio tibuurcio merged commit ad063f5 into main Dec 19, 2024
9 checks passed
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