Skip to content

Render arbitrary keys of components inside dictionaries. #2129

@T4rk1n

Description

@T4rk1n

It should be possible to render arbitrary keys as component inside an object prop.

Example typescript props:

type Props = {
  dynamic: {[k: string]: JSX.Element}
}

prop-types: PropTypes.objectOf(PropTypes.node)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions