react-docgen icon indicating copy to clipboard operation
react-docgen copied to clipboard

A CLI and library to extract information from React component files for documentation generation purposes.

Results 153 react-docgen issues
Sort by recently updated
recently updated
newest added

Hi, wondered if it is possible to parse the jsx and obtain all Tag names (maybe exclude native tags) to form the dependency list for the component. Cheers :)

question
custom-handler

Is there a reason this wasn’t already included? Having a displayName with each description would be beneficial for tools that are using docgen without having to re-read the js file...

improvement
custom-handler

I defined a propType like this: ``` type: PropTypes.oneOf(['cute', 'aggressive', 'shy']), ``` This resulted in: ``` { computed: false, value: "'shy'", } ``` ![screen shot 2016-02-16 at 14 17 35](https://cloud.githubusercontent.com/assets/223045/13093216/ea9293e8-d4b8-11e5-8e46-db420a796101.png)...

needs-discussion
breaking

This is more of a "would you be willing to accept a pull request which does this?" question than an issue of sorts. :) I would really like to extend...

improvement

Imagine you have a component `A` that composes component `B` and therefore also accepts the same props as `B`. For example: ``` js var A = React.createClass({ propTypes: ..., render:...

improvement

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [nx](https://nx.dev) ([source](https://redirect.github.com/nrwl/nx/tree/HEAD/packages/nx)) | [`18.3.5` -> `20.0.6`](https://renovatebot.com/diffs/npm/nx/18.3.5/20.0.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nx/20.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

dependencies

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@headlessui/react](https://redirect.github.com/tailwindlabs/headlessui) ([source](https://redirect.github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react)) | [`1.7.19` -> `2.2.0`](https://renovatebot.com/diffs/npm/@headlessui%2freact/1.7.19/2.2.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@headlessui%2freact/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

dependencies

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pnpm](https://pnpm.io) ([source](https://redirect.github.com/pnpm/pnpm)) | [`8.15.9` -> `9.12.2`](https://renovatebot.com/diffs/npm/pnpm/8.15.9/9.12.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/pnpm/9.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

dependencies

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://redirect.github.com/eslint/eslint)) | [`8.57.1` -> `9.13.0`](https://renovatebot.com/diffs/npm/eslint/8.57.1/9.13.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/9.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

dependencies