created:3/5/2021
updated:3/5/2021
source lines:21
comments %:19
ComponentSource
Displays import statement for a component as well as the component file source code Optionally also displays some repository information from the component's package.json
Name | Description | Default | |
---|---|---|---|
- (3 properties) | |||
onSelect | callback to be called when the tab changes if the function returns false, it can stop chabging to the new tab (((name: string, component: Component) => boolean | void) & ((event: SyntheticEvent<HTMLDivElement, Event>) => void)) | - | |
ref | ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | - | |
visibility | by default will show both controls and props tables user setting can display only props table or only controls undefinedallcontrolsinfo | - | |
SpaceProps (28 properties) | |||
HTMLAttributes (42 properties) | |||
BlockContainerOwnProps (6 properties) | |||
Attributes (2 properties) | |||
AriaAttributes (48 properties) | |||
DOMAttributes (160 properties) | |||
BoxOwnProps (3 properties) | |||
BackgroundColorProps (2 properties) | |||
OpacityProps (1 properties) | |||
ComponentInputProps (2 properties) | |||
ActionContainerProps (1 properties) | |||
SyntaxHighlighterProps (5 properties) |
26 commits
package | imports | peer |
---|---|---|
SourceProps | ||
react ^17.0.1 | ReactFC | * |
file | imports |
---|---|
"../BlockContainer/components/ComponentsBlockContainer" | ComponentsBlockContainerComponentsBlockContainerProps |
"./BaseComponentSource" | BaseComponentSource |