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

Added a guide on overriding React component props to trans-component.md #147

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

nico-i
Copy link
Contributor

@nico-i nico-i commented Jun 25, 2024

Motivation / Reason

I spent a large chunk of time stumbling through issues, pull requests and source code in my search for the possibility of passing component props via translation messages.

After finally finishing my research, implementing the discovered functionality was also not 100% straightforward. This in mind, I thought it might aid the next person if a guide for this sort of thing were to exist in the docs.

Checklist

  • only relevant code is changed (make a diff before you submit the PR)
  • run tests npm run test
  • tests are included
  • commit message and code follows the Developer's Certification of Origin

Checklist (for documentation change)

  • only relevant documentation part is changed (make a diff before you submit the PR)
  • motivation/reason is provided
  • commit message and code follows the Developer's Certification of Origin

@adrai adrai merged commit 1ae6b80 into i18next:master Jun 25, 2024
@adrai
Copy link
Member

adrai commented Jun 25, 2024

thx a lot

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.

2 participants