-
Notifications
You must be signed in to change notification settings - Fork 63
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: abhinavchadaga/reusable-popup-prompt #148
feat: abhinavchadaga/reusable-popup-prompt #148
Conversation
Takes a title, description, and button children.
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.
Great PR! I left some small comments but overall it looks clean, organized, and well formatted.
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.
Great job with the Storybook!
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.
PR approved!
Reusable popup prompt that takes a title, description, and button children components. Uses headless UI's
Transition
andDialog
components for accessibility and interactivity. Handles clicks outside the prompt, escape key, etc.DEMO