Skip to content

Props not detected unless "import * as React from 'react'" #323

@crobinson42

Description

@crobinson42

The TS interface/type used for a component's props are not picked up unless in the same file all of React is imported via: import * as React from 'react'.

This is a bug that needs addressing - happy to help, point me in the direction.

I stumbled across this here also:

strothj/react-docgen-typescript-loader#10 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThere is no activity for a long time.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions