Skip to content

instanceOf(CustomClass) not rendered correctly in docs #4

Description

@nicolaslohrer

Hey there,

thanks for the useful tool!

Using it, I came across a minor issue with custom class propType declarations. I've defined this in a component:

static propTypes = {
  notifications: PropTypes.instanceOf(Immutable.List).isRequired
};

In the generated docs.md the type is displayed as „instanceOf“, which is not particularly useful.

Regards,
Nicolas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions