Skip to content

Refactor: Create reusable DepthIconButton component#1174

Draft
pradhyumna186 wants to merge 1 commit intoGreenstand:masterfrom
pradhyumna186:feature/update-info-button
Draft

Refactor: Create reusable DepthIconButton component#1174
pradhyumna186 wants to merge 1 commit intoGreenstand:masterfrom
pradhyumna186:feature/update-info-button

Conversation

@pradhyumna186
Copy link

  • Add DepthIconButton as a reusable component for consistent icon buttons
  • Refactor InfoButton to use DepthIconButton internally
  • Refactor ArrowButton to use DepthIconButton internally
  • All icon buttons now share the same depth button styling
  • Component placed in TextButton.kt with other button components

Thank you for opening a Pull Request!

Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open a GitHub issue as a bug/feature request before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests are added/updated (if necessary)
  • Ensure the linter passes (./codeAnalysis to automatically apply formatting/linting)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

- Add DepthIconButton as a reusable component for consistent icon buttons
- Refactor InfoButton to use DepthIconButton internally
- Refactor ArrowButton to use DepthIconButton internally
- All icon buttons now share the same depth button styling
- Component placed in TextButton.kt with other button components
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.

1 participant