created:3/5/2021
updated:3/5/2021
loc
42
comments
26%
passed
12
coverage
75%
StorySource
Display source code of a story. If controls are used, all story arguments will be highlighted. Additional commands are made available if the repository data of the story is available.
Name | Description | Default | |
---|---|---|---|
StorySourceOwnProps(2 properties) | |||
viewStyle | initial view mode valuestags | - | |
sourceProps | source code options SourceProps | - | |
BlockContainerOwnProps(6 properties) | |||
HTMLAttributes(42 properties) | |||
Attributes(2 properties) | |||
AriaAttributes(48 properties) | |||
DOMAttributes(161 properties) | |||
-(1 properties) | |||
BoxOwnProps(3 properties) | |||
SpaceProps(28 properties) | |||
BackgroundColorProps(2 properties) | |||
OpacityProps(1 properties) | |||
StoryInputProps(1 properties) |
32 commits
package | imports | peer |
---|---|---|
SourceProps | ||
@component-controls/store ^3.15.0 | useStoryusePackageuseCurrentDocumentStoryInputProps | |
react ^17.0.1 | ReactFC | * |
file | imports |
---|---|
"../BlockContainer/story" | StoryBlockContainerStoryBlockContainerProps |
"./BaseStorySource" | BaseStorySourceViewStyle |