Skip to content

✨ feat: add labelAction prop to Select component#519

Merged
futjesus merged 1 commit intomainfrom
feat/select-label-action
Feb 12, 2026
Merged

✨ feat: add labelAction prop to Select component#519
futjesus merged 1 commit intomainfrom
feat/select-label-action

Conversation

@futjesus
Copy link
Member

Summary

  • Adds labelAction prop (ReactNode) to the Select component, allowing custom content (e.g., button, icon) to render on the right side of the label
  • Follows the same pattern already used by the Input component
  • Adds unit test verifying the prop renders correctly

Test plan

  • Unit test added for labelAction rendering
  • All 13 Select tests pass
  • TypeScript type check passes
  • Lint and Prettier pass

Adds support for rendering custom content (e.g., a button or icon) on
the right side of the Select label, matching the existing Input pattern.
@futjesus futjesus changed the title feat: add labelAction prop to Select component ✨ feat: add labelAction prop to Select component Feb 12, 2026
@futjesus futjesus merged commit 8d1d35b into main Feb 12, 2026
1 check passed
@futjesus futjesus deleted the feat/select-label-action branch February 12, 2026 21:46
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