Skip to content

feature request. Allow to analyze reexported components #73

Open
@stepancar

Description

@stepancar

AnyComponent.jsx

import * as React from 'react';

export default class AnyComponent extends React.Component {
    anyMethod(){
       //..
    }
    render(){
       return (<div></div>)
    }
}

Test.jsx

export {AnyComponent} from './AnyComponent';
react-docgen Test.jsx

throws exception "No suitable component definition found"

But should analysis content of AnyComponent.jsx.

What do you think about it?

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