Catalog npm
Back to packageRELEASE DETAILS

1.0.0

npm

2r-button

2R library button component implemented in React

buttonbutton-componentreactreact buttonreact-butonreact-button-componentreact-component
Published20 Aug 2015
Direct dependencies19
Transitive dependenciesNot calculated

README

Current package documentation

2r-button

2R library button component implemented in React.

Instalation

2r-button is available as an npm package. Simply run npm install 2r-button command.

To use it in your project:

import button from '2r-button'; // ES6 syntax
var button = require('2r-button'); // ES5 syntax

Usage & API

The following props can be passed to the component:

  • disabled (Boolean): whether the button is disabled or not (defaults to false)

  • text (String): the text of the button (defaults to Button)

  • classes (String): a string of multiple classes, separated by space (defaults to '')

  • onClick (Function): the callback function to be executed when button is pressed

Examples

There is an examples folder inside the project with a minimum config. Steps to run:

  • Clone the project and

  • Run npm install

  • Run gulp examples

  • Navigate to http://localhost:5000

License

This software is released under the terms of WTFPL v2.0 license.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 19

Native requirements
19 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
react
Environment
{
  "local_name": "react",
  "alias": false,
  "peer_metadata": null
}
^0.13.3runtime
babelify
Environment
{
  "local_name": "babelify",
  "alias": false,
  "peer_metadata": null
}
^6.1.3development
browserify
Environment
{
  "local_name": "browserify",
  "alias": false,
  "peer_metadata": null
}
^11.0.1development
classnames
Environment
{
  "local_name": "classnames",
  "alias": false,
  "peer_metadata": null
}
^2.1.3development
gulp
Environment
{
  "local_name": "gulp",
  "alias": false,
  "peer_metadata": null
}
^3.9.0development
gulp-babel
Environment
{
  "local_name": "gulp-babel",
  "alias": false,
  "peer_metadata": null
}
^5.2.0development
gulp-connect
Environment
{
  "local_name": "gulp-connect",
  "alias": false,
  "peer_metadata": null
}
^2.2.0development
gulp-uglify
Environment
{
  "local_name": "gulp-uglify",
  "alias": false,
  "peer_metadata": null
}
^1.2.0development
jasmine-core
Environment
{
  "local_name": "jasmine-core",
  "alias": false,
  "peer_metadata": null
}
^2.3.4development
karma
Environment
{
  "local_name": "karma",
  "alias": false,
  "peer_metadata": null
}
^0.13.9development
karma-browserify
Environment
{
  "local_name": "karma-browserify",
  "alias": false,
  "peer_metadata": null
}
^4.3.0development
karma-chrome-launcher
Environment
{
  "local_name": "karma-chrome-launcher",
  "alias": false,
  "peer_metadata": null
}
^0.2.0development
karma-firefox-launcher
Environment
{
  "local_name": "karma-firefox-launcher",
  "alias": false,
  "peer_metadata": null
}
^0.1.6development
karma-jasmine
Environment
{
  "local_name": "karma-jasmine",
  "alias": false,
  "peer_metadata": null
}
^0.3.6development
karma-phantomjs-launcher
Environment
{
  "local_name": "karma-phantomjs-launcher",
  "alias": false,
  "peer_metadata": null
}
^0.2.1development
karma-safari-launcher
Environment
{
  "local_name": "karma-safari-launcher",
  "alias": false,
  "peer_metadata": null
}
^0.1.1development
phantomjs
Environment
{
  "local_name": "phantomjs",
  "alias": false,
  "peer_metadata": null
}
^1.9.18development
phantomjs-polyfill
Environment
{
  "local_name": "phantomjs-polyfill",
  "alias": false,
  "peer_metadata": null
}
0.0.1development
vinyl-source-stream
Environment
{
  "local_name": "vinyl-source-stream",
  "alias": false,
  "peer_metadata": null
}
^1.1.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "b09a6d2b866f957549ffa8be882c114baf9f6d7d",
  "tarball": "https://registry.npmjs.org/2r-button/-/2r-button-1.0.0.tgz",
  "integrity": "sha512-yp81mcDtt42+BU3/wIo7242BGdoYzLmwxuKs+On7G5pqlBqAla70EosHsH53HqN5+3LcP5y70CMthpolSoWIVw==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIG5eYuKpCZxmh7oBC6bVLRbxUJDIw87oain6DRFozmBtAiAu/cP/+n6jh2ZyrLAEWlWjLtFABNhfAx2pOQAaiEz6DQ=="
    }
  ]
}

Repository

PENDING
vladzelinschi/2r-button

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:3895df9c96629c7095fc2e778656bac2fbf34be55edbd053a9d4d3d681fbaa36

Other collected versions

1.0.61 Sept1.0.522 Aug1.0.422 Aug1.0.322 Aug1.0.221 Aug1.0.120 AugView all collected versions →