An open API service indexing awesome lists of open source software.

https://github.com/hackclub/banner

⛳ React component for adding a Hack Club banner to your site
https://github.com/hackclub/banner

hackclub react

Last synced: 15 days ago
JSON representation

⛳ React component for adding a Hack Club banner to your site

Awesome Lists containing this project

README

          

# `@hackclub/banner`

> React component for adding a [Hack Club](https://hackclub.com) banner to your club site

[![npm](https://img.shields.io/npm/v/@hackclub/banner.svg)](https://www.npmjs.com/package/@hackclub/banner) [![CI](https://github.com/hackclub/banner/actions/workflows/ci.yml/badge.svg)](https://github.com/hackclub/banner/actions/workflows/ci.yml)

## Install

Use npm or yarn as follows:

```bash
npm install --save @hackclub/banner
yarn add @hackclub/banner
```

## Usage

Place `` anywhere on your club site homepage.

```jsx
import Banner from '@hackclub/banner'

export default () => (


Hacking High School Hack Club



)
```

### Custom props

```jsx

```


Prop
Effect


year
Number. Default: current year


style
Object, for custom styles

## License

MIT © [Hack Club](https://hackclub.com)