github-link

v1.1.0arrow_drop_down
v1.1.0
v1.0.3
v1.0.2
v1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
1,692
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
5 KB
Concrete link to a Github repository, with logo and star count
1 contributor
Install github-link as a package?
Copied
npm i @bit/bit.evangelist.marketing.community-links.github-link
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right
GithubLink ()

Concrete link to a Github repository, with logo and star count.
Star count automatically shortens into metric prefix, using number-abbreviate.

Example
<GithubLink href="https://github.com/teambit/bit" starCount={500000} />
Properties
NameTypeDescription
starCount
number

Shows github stars count inside the link.

Help and resources