@hackclub/banner

1.0.3 • Public • Published

@hackclub/banner

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

npm Build Status

Install

Use npm or yarn as follows:

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

Usage

Place <Banner /> anywhere on your club site homepage.

import React from 'react'
import Banner from '@hackclub/banner'

export default () => (
  <main>
    <Banner />
    <h1>Hacking High School Hack Club</h1>
  </main>
)

Custom props

<Banner year={2020} style={{ width: '256px' }} />
Prop Effect
year Number, one of 2016 to 2022. Default: current year
style Object, for custom styles

License

MIT © Hack Club

Readme

Keywords

none

Package Sidebar

Install

npm i @hackclub/banner

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

22.2 kB

Total Files

8

Last publish

Collaborators

  • recursiveforte
  • merlin04
  • josias_aurel_wing
  • jianmin-chen
  • archmaster
  • cfanoulis
  • lachlanjc
  • maxwofford
  • matthewstanciu
  • uanirudhx
  • sampoder