A next-generation tool to create blazing-fast documentation sites
API
created:3/5/2021
updated:3/5/2021
loc
24
comments
13%
passed
2
coverage
67%

ComponentJSX

avatar of atanasster
@component-controls/blocks
3.15.0

Displays external dependencies for a component

import { ComponentJSX } from '@component-controls/blocks';

Overview

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) & ReactEventHandler<HTMLDivElement>)
-
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

allcontrolsinfo
-
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)

Commits

Date
Author
Commit Message
7/25/2021

atanasster

avatar of atanasster
chore: move structured-types to own repo
12/8/2020

atanasster

avatar of atanasster
feat: addon-stats
11/30/2020

atanasster

avatar of atanasster
feat: component jsx explorer
3 commits
package
imports
peer
useComponent
react
^17.0.1
ReactFC
*
file
imports
"../BlockContainer/components/ComponentsBlockContainer"
ComponentsBlockContainerComponentsBlockContainerProps
"./ComponentJSXTree"
ComponentJSXTree
"../context"
useCustomProps