🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@planning-center/btn

Package Overview
Dependencies
Maintainers
6
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planning-center/btn

A button based on btn.css

latest
Source
npmnpm
Version
0.1.5
Version published
Maintainers
6
Created
Source

@planning-center/btn

A React component button that styles itself with the .btn2 class in Planning Center apps.

Installation

npm install @planning-center/btn or yarn add @planning-center/btn

Usage

import React from "react"
import Btn from "@planning-center/btn"

const MyComponent = () =>
  <Btn
    className="moar classes"
    onClick={() => alert("you clicked me.")}
  />Click me</Btn>

// => <button class="btn2 moar classes" type="button">Click me</button>

Dependencies

JS env

  • react
  • classnames

CSS

  • .btn2

FAQs

Package last updated on 13 Sep 2017

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