Socket
Socket
Sign inDemoInstall

@hackclub/banner

Package Overview
Dependencies
10
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @hackclub/banner

React component for adding a Hack Club banner to your site


Version published
Weekly downloads
17
increased by41.67%
Maintainers
5
Install size
305 kB
Created
Weekly downloads
 

Readme

Source

@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' }} />
PropEffect
yearNumber, one of 2016 to 2022. Default: current year
styleObject, for custom styles

License

MIT © Hack Club

FAQs

Last updated on 31 Mar 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc