Skip to content

[Docs] Props table default values for complex components #5118

Closed

Description

@thompsongl

I haven't been able to get react-docgen-typescript to find the default values. The forwardRef + TypeScript generic problem and workaround (described here) that we've had to do either leaves us with insufficient type safety for consumers or insufficient documentation.
We could add the default values to the prop comments using the jsdoc tag, which react-docgen-typescript understands.

Originally posted by @thompsongl in #5011 (comment)

Activity

  1. github-actions commented on Feb 28, 2022

    @github-actions

    👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

  2. added
    stale-issue
    on Feb 28, 2022
  3. added
    documentation
    and removed
    stale-issue
    on Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions