Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@debtcollective/header

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@debtcollective/header

[![Build Status](https://travis-ci.org/debtcollective/header.svg?branch=master)](https://travis-ci.org/debtcollective/header) [![codecov](https://codecov.io/gh/debtcollective/header/branch/master/graph/badge.svg)](https://codecov.io/gh/debtcollective/head

  • 1.7.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
decreased by-33.33%
Maintainers
2
Weekly downloads
 
Created
Source

Build Status codecov Renovate enabled

Installation

yarn add @debtcollective/header

Usage

import React, { Component } from 'react'
import Header from @debtcollective/header

class Example extends Component {
  render () {
    return (
      <Header />
    )
  }
}

Dependencies

Check package.json peerDependencies.

Development

In the project directory, the principal commands you may want to know are:

yarn start

Runs Rollup in watch mode

yarn build

Builds the package using Rollup

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn docz dev

Launches a server with components documentation.

Example app

To run the example run:

cd example
yarn install
yarn start

This app is based on create-react-app, serving 2 purposes

  • Local, hot-reload server for developing your module
  • Easily publishable to github pages

Coding guideline

  • We use semantic commits throught https://commitizen.github.io/cz-cli/
  • While Material UI support withStyles we prefer the usage of https://www.styled-components.com to do so, often needing to apply extra specificity to allow styles to being applied
  • Some UI pieces from Material UI needs unique identifiers, so we use constants in the same file but with a format to avoid conflicts like so: const <ELEMENT_TYPE>_NAME = "@@<scope>/<component>/<element_type>";

License

BSD-3-Clause © @debtcollective

FAQs

Package last updated on 20 Aug 2019

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