Skip to content

Typescript error while using ThemeProvider (React 18) #2103

Description

@vamsimudadla

Describe the bug
Property 'children' does not exist on type 'IntrinsicAttributes & ThemeProviderProps'.
ThemeProvider is trying to access children from props which is not declared in ThemeProviderProps

To Reproduce
Steps to reproduce the behavior:

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions