Skip to content

Conversation

@shatadal-das
Copy link

type Component has been replaced with type ParentComponent.

it solves a type error in index.tsx file at
() => <Router root={(props) => <App>{props.children}</App>}>{routes}</Router>,

"Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes'.ts"

type `Component` has been replaced with type `ParentComponent`.

it solves a type error in `index.tsx` file at 
`() => <Router root={(props) => <App>{props.children}</App>}>{routes}</Router>,`

"Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes'.ts"
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