Skip to content

Does not generate propTypes for forwardRef. #44

@mercurial20

Description

@mercurial20

I react component library with configuration:
storybook, rollup, typescript, react.
components use React.forwardRef
I tried to generate propTypes for components but it did nothing. It builded without error, but component.propTypes is not generated.
I tried with React.FC instead of React.forwardRef and it works normally.

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