Skip to content

[prop-loader] Better handling of generic types #4129

Closed as not planned
Closed as not planned

Description

@thompsongl

Work done in #4125 to eliminate manual props info tables for complex components highlights room for improvement in documenting generic types:

image

EuiBasicTable makes use of cascading generics to typeitems, but this is not immediately clear in the docs, nor is it clear what shape T can take.

Updates should include some clearer indication that a type is generic, and some documentation about the default value, extension, or shape of the generic. It could be that we are limited by react-docgen-typescript.

Activity

  1. added
    documentation
    on Oct 12, 2020
  2. github-actions commented on Apr 11, 2021

    @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.

  3. added
    stale-issue
    on Apr 11, 2021
  4. added and removed
    stale-issue
    on Apr 12, 2021
  5. daveyholler commented on Mar 20, 2023

    @daveyholler
    Contributor

    @daveyholler - Look into how Storybook handles types in a props table

  6. github-actions commented on Oct 29, 2023

    @github-actions

    👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.

  7. added
    stale-issue
    on Oct 29, 2023
  8. github-actions commented on Apr 26, 2024

    @github-actions

    ❌ Per our previous message, this issue is auto-closing after having been open and inactive for a year. If you strongly feel this is still a high-priority issue, or are interested in contributing, please leave a comment or open a new issue linking to this one for context.

  9. added
    stale-issue-closed
    on Apr 26, 2024
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

    documentationstale-issuestale-issue-closed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions