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

@pismo/bolt-button

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pismo/bolt-button - npm Package Compare versions

Comparing version 0.0.1-32 to 0.2.0

Button.mdx

66

package.json
{
"name": "@pismo/bolt-button",
"version": "0.0.1-32",
"description": "Button component for the Pismo Bolt styleguide",
"main": "src/index.js",
"scripts": {
"setup": "yarn",
"test": "npm test",
"lint": "node_modules/.bin/eslint --fix",
"docgen": "react-docgen ./src/Button.js --out .meta.json --pretty",
"mdgen": "node ../../docgen-to-md.js",
"doc": "yarn docgen && yarn mdgen"
},
"keywords": [
"pismo",
"react",
"bolt",
"styled",
"component"
],
"author": "Pismo",
"version": "0.2.0",
"description": "Bolt button component",
"author": "Pismo <hello@pismo.io>",
"homepage": "https://github.com/pismo/bolt#readme",
"license": "ISC",
"dependencies": {
"@pismo/bolt-colors": "^0.0.1-32",
"@pismo/bolt-typography": "^0.0.1-32"
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/pismo/bolt.git"
},
"bugs": {
"url": "https://github.com/pismo/bolt/issues"
},
"devDependencies": {
"@pismo/eslint-config-bolt": "^0.0.1-32",
"prop-types": "^15.6.0"
"@astrocoders/docz": "0.13.6",
"@types/jest": "^23.3.10",
"@types/react": "^16.7.17",
"@types/react-dom": "^16.0.11",
"@types/styled-components": "4.1.4",
"jest-dom": "^3.0.0",
"polished": "^2.3.1",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-testing-library": "^5.4.0",
"styled-components": "4.1.3",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0",
"tslint-react": "^3.6.0",
"typescript": "^3.2.2"
},
"peerDependencies": {
"react": "^16.2.0",
"styled-components": "^2.4.0"
"dependencies": {
"@pismo/bolt-core": "^0.2.0"
},
"publishConfig": {
"access": "public"
"scripts": {
"build": "tsc",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pismo/bolt.git"
}
"gitHead": "fb08dbeb024a79d4fd7a37ef2bb0343a0270ae4f"
}

@@ -1,24 +0,11 @@

# Bolt Button
One button to rule them all.
# `core`
---
> TODO: description
## Installation
```sh
> yarn add @pismo/bolt-button
## Usage
```
const core = require('core');
## Usage
```js
import Button from '@pismo/bolt-button'
// TODO: DEMONSTRATE API
```
### Props
Prop | Type | Description | Required | Default
--- | :---: | --- | :---: | :---:
**size** | enum | 'small', 'medium', 'large' | false | 'medium'
**block** | bool | block mode sets `display: block` and max width, useful for modal footers for example | false | false
**weight** | enum | 'normal', 'primary' | false | 'normal'
**innerRef** | func | returns the actual `ref` of the inner `<button />` | false | Function.prototype
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