Implement BuyInAmount Selector Component (Issue #3) #15
No reviewers
Labels
No Label
Large
Medium
Small
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: david/poker-chips-helper#15
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "vutukuri15/3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This addresses the requirement specified in Issue #3.
This PR introduces a new BuyInSelector component for selecting and entering the buy-in amount for the game. The component allows users to choose a predefined buy-in amount or enter a custom value. It includes validation to ensure valid amounts are selected. It also includes corresponding unit tests to ensure the functionality works as expected.
Looks good overall
I have a couple concerns with hardcoding this reference here.
One approach would be to save and render the image locally in our app. This solves point 1
Another approach would be to use some public icons, like @expo/vector-icons. If there is a good match, that addresses point 1 and 2.
This should be fixed, but up to you on your approach. You can resolve this thread when done
Thanks for the feedback! I'll check local storage or @expo/vector-icons and update once fixed.
I've replaced the external image link with the MaterialIcons from @expo/vector-icons, which addresses both the dependency issue and the rights concern.
Let me know if there's anything else to modify.
Thanks for reviewing and approving the PR!