question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

addon-info: prop descriptions are always empty

See original GitHub issue

image

though I have comments:

UIRange.propTypes = {
  /** Value of the range */
  value: PropTypes.number.isRequired,
  /** onChange event callback */
  onChange: PropTypes.func.isRequired,
  /** Minimum value */
  min: PropTypes.number,
  /** Maximum value */
  max: PropTypes.number,
  /** increment/decrement by */
  step: PropTypes.number,
  /** if true range is disabled */
  disabled: PropTypes.bool,
  /** Show value on tooltip */
  showValueOnToolTip: PropTypes.bool,
  /** Show value on thumb */
  showValueOnThumb: PropTypes.bool,
}

Versions: storybook/addon-info: “3.2.11” storybook/react: “3.2.11”

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:9
  • Comments:15 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
eightHundredscommented, Jul 12, 2018

component description is empty ,does anyone have this problem

@storybook/addon-actions": "^3.4.0",
    "@storybook/addon-centered": "^3.4.5",
    "@storybook/addon-info": "^3.4.5",
    "@storybook/addon-knobs": "^3.4.5",
    "@storybook/addon-links": "^3.4.0",
3reactions
swashcapcommented, Oct 11, 2017

@notgiorgi I was experiencing this, too. I believe this is due to customization of Storybook’s webpack config. Modification of module rules was messing with storybook’s react-docgen configuration in my case. The fix for me:

 module.exports = (baseConfig, configType) => {
   const isDev = configType === "DEVELOPMENT";
 
   // Resolve to iOS-specific components
   baseConfig.resolve.extensions.push(".ios.js");
 
   baseConfig.module.rules.push(
-    {
-      test: /\.js$/,
-      exclude: /node_modules/,
-      use: {
-        loader: "babel-loader",
-        options: {
-          cacheDirectory: true
-        }
-      }
-    },
     {
       test: /\.(gif|jpe?g|png|svg)$/,
       use: {
         loader: "url-loader",
         options: {
           name: "[name].[ext]"
         }
       }

Read more comments on GitHub >

github_iconTop Results From Across the Web

Storybook Docs with mdx support and addon knobs - Medium
For a simple colored circle without a number inside, pass in the "empty" prop. If empty, it will not display any text within...
Read more >
Infolabels and Boolean conditions - Kodi Development
The version string of a valid update for the addon. Empty string if there is no valid update available. v19 Skinning engine changes:...
Read more >
@storybook/react-native - npm
Addon-info - Fix immutable props issues with React 16 #1894 ... Enable many components of same type in addon-info prop tables #1607; Always...
Read more >
@storybook/addon-controls | Yarn - Package Manager
Storybook Controls gives you a graphical UI to interact with a component's arguments dynamically, without needing to code. It creates an addon panel...
Read more >
Addon scripts overriding each other - Blender Stack Exchange
Addon Info bl_info = { "name": "The Coral And Creatures ... bpy import os from bpy.props import * from bpy.types import Panel, Operator, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found