Skip to content

React.PropTypes.shape({ ... }) missing description and required #21

Closed
@marcello3d

Description

@marcello3d

If I have the following:

propTypes: {
  /**
   * a shapely shape
   */
  shape: React.PropTypes.shape({
    /**
     * a shapely property
     */
    subprop: React.PropTypes.number
  })
}

I get description and required fields on the shape property, but not on subprop.

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