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

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Rate-Limited These updates are currently rate-limited. Click on a checkbox below to force...

:robot: I have created a release *beep* *boop* --- cli: 6.0.0-alpha.4 ## [6.0.0-alpha.4](https://github.com/reactjs/react-docgen/compare/cli-v6.0.0-alpha.3...cli-v6.0.0-alpha.4) (2022-10-18) ### Bug Fixes * **deps:** pin dependencies ([b570fc1](https://github.com/reactjs/react-docgen/commit/b570fc1adf667d529d6e3c15abd19e5622fa7b3f)) * **deps:** update dependency commander to v9.4.1 ([d4bff01](https://github.com/reactjs/react-docgen/commit/d4bff01688eb7909d01da576c95d3399cc0e5ae6))...

autorelease: pending

PR #494 - [x] Resolve imported proptypes and types (#464) - [ ] Add support for enabling import feature in cli - [x] Migrate to TS 🎉 - [x] Migrate...

breaking
6.x

Rebase of #454 to current main

new feature

Add detection of `useImperativeHandle()`-defined methods on components, including test cases and README documentation. > _**Additional background:** I have a component I've just refactored from a class-based implementation to the new...

new feature

If there is a self-reference in propTypes define, docgen will throw an error: `RangeError: Maximum call stack size exceeded`. related to #249. For reproduction, copy the code below to the...

bug
5.x
6.x

I'm struggling with typing the output of this library, has someone already done so? The only thing I've found was in the [Readme](https://github.com/reactjs/react-docgen#types), but its very vague , e.g. `"elements":...

typescript
6.x

Is there a recommended way to generate prop types when the `prop-types` package is not explicitly imported into each component? For example, in my project, `PropTypes` is provided as a...

new feature

Hi. Per @danez suggestion in [Create / use react-docgen vite plugin to show docsPage info by IanVS · Pull Request #299 · storybookjs/builder-vite](https://github.com/storybookjs/builder-vite/pull/299#issuecomment-1089012870), I'm opening a similar issue here. TL;DR:...

bug

Given the following component structure: ```tsx import React from "react"; interface ButtonProps { onClick: () => void; } const Button: React.FC = (props) => { return Hello world; }; export...

bug