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

Add disabled state to pin container #35

Merged
merged 6 commits into from
Mar 15, 2024

Conversation

EddWills95
Copy link
Contributor

  • Adds disabled state styling to the pin container (if disabled is true and there is a theme prop passed)

@EddWills95
Copy link
Contributor Author

I'm wondering if there is a better approach to the theme to avoid lots of props with empty object spreading 🤔

@anday013
Copy link
Owner

@EddWills95 Such a nice feature! Regarding the "object spreading hell", what about this solution :)

Screenshot 2024-01-28 at 13 42 41

Copy link

@Noitham Noitham left a comment

Choose a reason for hiding this comment

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

Looks awesome!

@anday013 anday013 force-pushed the add-disabled-state branch 2 times, most recently from 73bb0e0 to 244112c Compare March 15, 2024 22:06
@anday013 anday013 merged commit 3680e2b into anday013:main Mar 15, 2024
1 check 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