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

Refactor deprecateValuesWithin helper to support optional propMappingFunction as argument #16467

Closed
2nikhiltom opened this issue May 14, 2024 · 1 comment · Fixed by #16346
Closed

Comments

@2nikhiltom
Copy link
Contributor

Issue : #16326
Enhancement of this PR

Change the signature of deprecateValuesWithin to accept below as it's arguments

  propType,
  allowedValues
  propMappingFunction

Create an propMappingFunction function and optionally pass it to deprecateValuesWithin which can guide the user more clearly about the depreciated prop value and it's new_alternative_value

Copy link
Contributor

Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.

If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Status: Completed
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant