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

feat(TextInput): change type prop label #1997

Closed
wants to merge 1 commit into from

Conversation

u4aew
Copy link
Contributor

@u4aew u4aew commented Dec 17, 2024

Description

Added type React.ReactNode for label in the TextInput component.

Issue: #1877

@u4aew u4aew requested a review from korvin89 as a code owner December 17, 2024 15:48
@gravity-ui-bot
Copy link
Contributor

Visual Tests Report is ready.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@amje
Copy link
Contributor

amje commented Dec 17, 2024

@u4aew Hi, thanks for contribution. But, unfortunately, we've changed our mind regarding this feature. The inital problem we had could be resolved another way, not expanding the API. For now we don't want to have ReactNode there, because it could be a potential lost of control in this place, we want there to be a simple string

@u4aew u4aew closed this Dec 17, 2024
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.

3 participants