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 next and prev buttons #5

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

linyers
Copy link
Contributor

@linyers linyers commented Jun 5, 2024

  • Disabled the "prev" and "next" buttons when there is only a single image.
  • Changed the color of the buttons when they are disabled.
  • Added a new attribute disabledNextAndPrev to the Annotator component's PropTypes.

2024-06-05-134125_325x43_scrot

2024-06-05-134152_322x37_scrot

Fixes #4

Copy link

vercel bot commented Jun 5, 2024

@linyers is attempting to deploy a commit to the Suman Kunwar's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Jun 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
annotate-lab ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 5, 2024 5:25pm

Copy link
Owner

@sumn2u sumn2u left a comment

Choose a reason for hiding this comment

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

New work!

@sumn2u sumn2u merged commit 149322a into sumn2u:master Jun 5, 2024
2 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.

Disabled prev/next buttons for single image
2 participants