React component for adding a Hack Club banner to your site
npm install @hackclub/banner@hackclub/banner> React component for adding a Hack Club banner to your club site
 
Use npm or yarn as follows:
``bash`
npm install --save @hackclub/banner
yarn add @hackclub/banner
Place anywhere on your club site homepage.
`jsx
import React from 'react'
import Banner from '@hackclub/banner'
export default () => (
Hacking High School Hack Club
)
`
`jsx`
| Prop | Effect |
| ------- | ------------------------------------------------------ |
| year | Number, one of 2016 to 2022. Default: current year |style` | Object, for custom styles |
|
MIT © Hack Club