atlassian / atlassian/extract-react-types

Issues getting this to work

Open
#180 6 comments 0 reactions 0 assignees View on GitHub
@types/react question
Dominant language
JavaScript
Stars
188
Forks
31
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I've installed the package for my nextjs application we're using to build a documentation app.

I've copied the example from the storybook but when I run my app, I'm getting these errors on the console:
```
Could not find property to go with default of kind in [object Object] prop types
Could not find property to go with default of value in [object Object] prop types
Could not find property to go with default of name in [object Object] prop types
Could not find property to go with default of kind in [object Object] prop types
Could not find property to go with default of value in [object Object] prop types
Could not find property to go with default of name in [object Object] prop types
```

The app itself doesn't display anything.
Is there any way to debug & fix that?

Also: Is there a way to literally just get an array of the props rather than having to use `pretty-proptypes`?

Best

David

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.