Socket
Socket
Sign inDemoInstall

@pga/pga-component-library

Package Overview
Dependencies
Maintainers
4
Versions
368
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pga/pga-component-library

React Component Library


Version published
Weekly downloads
20
increased by122.22%
Maintainers
4
Weekly downloads
 
Created
Source

pga-component-library

Travis npm package Coveralls

React Component Library for internal component sharing.

How to use

  • View available components at PGA Labs
    • Make sure you read Notes tab on the bottom pane for specific component instructions
  • run npm install --save @pga/pga-component-library in project directory
  • import components into your project, for example: import { Header } from '@pga/pga-component-library'

How To Contribute

  • Understand the structure of the repo.
    • This is really 2 repo's in one. The component-library, which utilizes NWB and the Storybook
    • When making a reusable component, please review the Storybook Documentation and NWB.
  • Create component and be sure to:
    • Add it to Storybook stories under /stories/components/<your-story> with propTypes and good instructions.
    • export it at src/index.js
    • Make sure it's well tested in src/__tests__
  • Make a PR! CircleCI should automatically deploy to NPM and publish new changes to our component library website on merge with master.
    • IMPORTANT Before making a PR: run npm run bump-version to change the version number in package.json

Happy hacking!

Keywords

FAQs

Package last updated on 17 May 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc