component-label
v1.1.3arrow_drop_downv1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.3
v1.0.2
v1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
3,044
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
6 KB
Given a component id, shows a label for it and its scope, with a link to its bit.dev entry.
1 contributor
Like
Install component-label as a package?
Copied
npm i @bit/bit.evangelist.dev-tools.component-label
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
No preview available
chevron_left
chevron_right
ComponentLabel ()
Given a component id, shows a label for it and its scope, with a link to its bit.dev entry.
Example
Properties
Name | Type | Default value | Description |
---|---|---|---|
bitId | string | Id of the component. Will show nothing if id is missing, and will show text only when id is not a valid bit-id | |
versionOverride | string | Explicitly set component version, and override any id that is part of the bit id. | |
fullScopeName | boolean | true | Show full scope name, including owner |