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

Not working in react 18, <I18n /> component does not accept children #167

Open
claudeJURA opened this issue May 3, 2023 · 2 comments
Open

Comments

@claudeJURA
Copy link

When used with a fresh create-react-app install and typescript types with react 18 the <I18n / > component does NOT accept children.

create:
npx create-react-app my-app --template typescript
install:
npm i redux-i18n --save

index.ts:
<I18n translations={translations}> <App /> </I18n>

@elizavetaRa
Copy link

+1 to this issue

@amerdiglisic
Copy link

+1

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

No branches or pull requests

3 participants