1.0.7 • Published 4 months ago

iro-github v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

GitHub Contribution Calendar for React

A customizable React component that displays a GitHub-style contribution heatmap.

GitHub Contribution Calendar Example


🚀 Installation

Install via NPM or Yarn:

npm install iro-github-cal
# or
yarn add iro-github-cal

📌 Usage

Import and use the component in your React project:

import React from "react";
import GitHubCalendar from "iro-github-cal";

const App = () => {
  return <GitHubCalendar username="your-github-username" />;
};

export default App;

🎨 Props

Prop NameTypeDefaultDescription
usernamestring(required)Your GitHub username.
startYearnumberCurrent Year - 1Year to start the contributions from.
themestring"#216e39"The base color for contribution levels.

🎨 Customization

You can customize the heatmap colors by passing the theme prop:

<GitHubCalendar username="your-github-username" theme="#ff4500" />
1.0.7

4 months ago

1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

4 months ago

1.0.3

4 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago