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

LocalDependencies

avatar of atanasster
@component-controls/blocks
3.15.0

Displays local dependencies for a component

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

Overview

file
imports
"./Button"
ButtonButtonProps
"@component-controls/components"
Table
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
2/17/2021

atanasster

avatar of atanasster
feat: components history and catalog
12/8/2020

atanasster

avatar of atanasster
fix: change node name
12/8/2020

atanasster

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

atanasster

avatar of atanasster
feat: component jsx explorer
11/28/2020

atanasster

avatar of atanasster
feat: local dependencies
5 commits
package
imports
peer
useComponent
react
^17.0.1
ReactFC
*
file
imports
"../BlockContainer/components/ComponentsBlockContainer"
ComponentsBlockContainer
"./ComponentLocalDependencies"
ComponentLocalDependencies
"./types"
DependenciesProps
"../context"
useCustomProps