JSPM

@pranavms13/react-gitcard

0.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q23751F
  • License MIT

A Simple GitCard

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

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