Package Exports
- @pranavms13/react-gitcard
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@pranavms13/react-gitcard) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-gitcard
A Simple GitCard
Install
npm install --save @pranavms13/react-gitcard
Usage
GitUserCard Usage
import React, { Component } from 'react'
import { GitUserCard } from '@pranavms13/react-gitcard'
class Example extends Component {
render() {
return <GitUserCard username="pranavms13" />
}
}
GitRepoCard Usage
import React, { Component } from 'react'
import { GitRepoCard } from '@pranavms13/react-gitcard'
class Example extends Component {
render() {
return <GitRepoCard username="pranavms13" repo="whatsapp-node-api"/>
}
}
Props | value | Description |
---|---|---|
username | Github Username |
Enter your Github username |
repo | GitHub reponame |
Enter your Github Repo Name (only on GitRepoCard) |
variant | "dark" / "light" |
Light or dark Variant - Default : Light |
License
MIT © pranavms13