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 prop to List #106

Merged
merged 2 commits into from
Jul 20, 2024
Merged

Add disabled prop to List #106

merged 2 commits into from
Jul 20, 2024

Conversation

IanVS
Copy link
Contributor

@IanVS IanVS commented Jun 24, 2024

Fixes #49

This adds a top-level disabled prop to the List component to allow disabling all moves.

I also added isDisabled to the renderItems prop, but it's technically not needed and I'm happy to take it back out if you prefer. I just thought it would be nice to avoid users needing to check both value.disabled and whatever they're using to disable the overall list. I don't feel strongly though.

This is a PR on top of a PR. I recommend merging #105 first, otherwise it will get closed along with this PR.

@IanVS IanVS changed the title Update dependencies, get tests passing Add disabled prop to List Jun 24, 2024
@IanVS
Copy link
Contributor Author

IanVS commented Jul 1, 2024

@tajo it looks like Netlify is trying to use a deprecated image, and should be updated.

@tajo tajo merged commit e8910e1 into tajo:master Jul 20, 2024
0 of 4 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.

Disable any moves
2 participants