pranavms13 / react-gitcard

A Simple GitCard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Simple GitCard


Languages

Language:JavaScript 85.7%Language:HTML 11.6%Language:CSS 2.7%