react-docgen-typescript-loader
react-docgen-typescript-loader copied to clipboard
Webpack loader to generate docgen information from Typescript React components.
I created a test project with create-react-app, added Typescript and Storybook by following the recommendations in the following storybook issue: https://github.com/storybooks/storybook/issues/4739 Then I added the docgen generator as described here:...
Hello, I'm currently looking for someone to take over maintaining if this project. If you think you have some time you can devote to a project like this, please leave...
Hey, I'm currently running into performance issues when I try to display a props table in storybook 5. # Current Behavior Starting Storybook takes currently around 180 seconds for 35...
It would be great to be able to layout the docs page for components differently. For instance, if we could show all of the stories for a given component on...
When using [CSF](https://storybook.js.org/docs/formats/component-story-format/) with Storybook there's no natural way to get the component description detection to work. Let's take a component called `ExampleButton`: ```jsx import { ExampleButton } from './components';...
[There is](https://github.com/strothj/react-docgen-typescript-loader/blob/affef97564eaa3044b63e1704affd43eb5b4bb15/src/__snapshots__/generateDocgenCodeBlock.spec.ts.snap#L72) `\\"defaultValue\\": { value: 123 }` without without double quotes around value key in your test snapshots. Do you know why and is there a way to add `"`...
Hope I'm not being daft and missing something obvious here, but I'm following the README and not having luck getting this to operate like I would expect. Given a simple...
button-page.tsx ```tsx import docsInfo from "!!react-docgen-typescript-loader!../../../../../core/button.tsx"; ``` button.tsx ```tsx import "acux/core/button.css"; import classNames from "classnames"; import * as React from "react"; import { Component } from "react"; export interface ButtonProps...
I have created a folder structure like below -button -button.tsx -button.stories.tsx -index.ts This structure doesn't shows up the props documentation The same code if the folder and the file name...
### **doesn't work :** index.tsx ``` import * as React from 'react'; export interface AProps { name?: string; } const A: React.FunctionComponent = ({name}) => { return {name}; }; A.displayName...