mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 21:41:21 +08:00
Merge pull request #2568 from mattferderer/patch-2
Attempt to make propTablesExclude usage clearer
This commit is contained in:
commit
7781c54a29
@ -130,7 +130,7 @@ setDefaults({
|
||||
inline: true, // Displays info inline vs click button to view
|
||||
source: true, // Displays the source of story Component
|
||||
propTables: [/* Components used in story */], // displays Prop Tables with this components
|
||||
propTablesExclude: [], // Exclude Components from being shown in Prop Tables section
|
||||
propTablesExclude: [], // Exclude Components from being shown in Prop Tables section. Accepts an array of component classes or functions.
|
||||
styles: {}, // Overrides styles of addon. The object should follow this shape: https://github.com/storybooks/storybook/blob/master/addons/info/src/components/Story.js#L19. This prop can also accept a function which has the default stylesheet passed as an argument.
|
||||
components: {}, // Overrides components used to display markdown
|
||||
maxPropsIntoLine: 1, // Max props to display per line in source code
|
||||
|
Loading…
x
Reference in New Issue
Block a user