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

bpk-component-button

Package Overview
Dependencies
Maintainers
1
Versions
562
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bpk-component-button - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16-alpha.b0be287c

4

package.json
{
"name": "bpk-component-button",
"version": "1.0.15",
"version": "1.0.16-alpha.b0be287c",
"description": "Backpack button component.",

@@ -16,4 +16,4 @@ "main": "index.js",

"dependencies": {
"bpk-mixins": "^4.1.0"
"bpk-mixins": "^5.0.0-alpha.b0be287c"
}
}

@@ -5,3 +5,3 @@ # bpk-component-button

### Installation
## Installation

@@ -12,3 +12,3 @@ ```sh

### Usage
## Usage

@@ -20,6 +20,24 @@ ```js

export default MyComponent = () => (
<section>
<BpkButton>My Button</BpkButton>
</section>
<div>
<BpkButton>Primary</BpkButton>
<BpkButton large>Large primary</BpkButton>
<BpkButton selected>Selected</BpkButton>
<BpkButton secondary>Secondary</BpkButton>
<BpkButton link>Link</BpkButton>
</div>
)
```
### Props
| Property | PropType | Required | Default Value |
| --------- | -------- | -------- | ------------- |
| children | - | true | - |
| href | string | false | null |
| disabled | bool | false | false |
| submit | bool | false | false |
| secondary | bool | false | false |
| selected | bool | false | false |
| large | bool | false | false |
| link | bool | false | false |
| onClick | func | false | null |
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