Skip to content

dawsonbooth/react-repo-card

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

react-repo-card

npm version downloads build status license

Description

This Node.js package is a React component for the GitHub repository card

Installation

With Node.js installed, simply run the following command to add the package to your React project.

npm install react-repo-card

Usage

Check out the examples below or check out the storybook.

The package comes with a main RepoCard component and a few hooks that make it work. Here's an example of how it works:

import React from "react";
import RepoCard from "react-repo-card";

const App = () => {
  return (
    <div style={{ width: "405px" }}>
      <RepoCard username="tarptaeya" repository="repo-card" />
    </div>
  );
};

License

This software is released under the terms of the MIT license.

Acknowledgments

  • This package is based on Tarptaeya's repo-card

About

React component for Tarptaeya/repo-card

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published