react-docgen-typescript-loader
react-docgen-typescript-loader copied to clipboard
Webpack loader to generate docgen information from Typescript React components.
Props information is not propagating when using `Pick`. ``` interface ContainerProps { /** A great description **/ firstProp: string; /** A better description **/ secondProp: number; } type Props =...
My webpack.config.json: ``` const path = require('path'); module.exports = ({ config }) => { config.module.rules.push({ test: /\.(ts|tsx)$/, use: [ { loader: require.resolve('awesome-typescript-loader'), options: { configFileName: path.resolve(__dirname, './tsconfig.json'), transpileOnly: true, errorsAsWarnings:...
It'd be nice if the type info (source file, parent) that react-docgen-typescript produces were preserved in some form. We're currently producing components with interfaces like this: ```ts type CtaLinkProps =...
Will default values always be surrounded by quotes? I feel for the above `delay1`, the default value shoudl be `250`, not `"250"`. Is it possible to accomplish that? _Originally posted...
I'm using Storybook 4 alpha and Babel 7 to compile typescript. Also using `v3.0.0-rc0` of this lib. Here's my custom webpack config for Storybook: ```js module.exports = (baseConfig, env, defaultConfig)...
I'm using storybook5 and instead of rendering in the top-menu (as shown below), i'd like the props and source code to render in separate panels. Is there a way to...
My code looks like: ```ts /** * Hook to check the action permission based on the rules and user's roles * * @param action - Action to check permission for...
Component info is no longer appearing in Storybook  Checking the example project, it no longer appears, although the component has comments and the...
Hey, i think this is more a question and am happy to close this issue if so but... i am using React-Emotion and Typescript and am using Storybook to document...
Below is the sample code which is story for Switch component. Since Switch is controlled component, I use a State/Store addon to control . ```tsx import * as React from...