@pranavms13/react-gitcard

0.0.4 • Public • Published

react-gitcard

A Simple GitCard

NPM JavaScript Style Guide Travis CI

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" />
	}
}

GitUserCard

GitUserCard

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"/>
	}
}

GitRepoCard

GitRepoCardDark

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

Package Sidebar

Install

npm i @pranavms13/react-gitcard

Weekly Downloads

3

Version

0.0.4

License

MIT

Unpacked Size

66.5 kB

Total Files

6

Last publish

Collaborators

  • pranavms13