0.0.11 • Published 8 years ago

mdbutton v0.0.11

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

MDButton

Build
Status Dependency Status GitHub version GitHub issues GitHub license

NPM

A react button component

Properties


Actions

  • onClick: Function - function to be called when the button is clicked
  • onDoubleClick: Function - function to be called when the button is double clicked
  • onMouseEnter: Function - function to be called when mouse enters the button area
  • onMouseLeave: Function - function to be called when mouse leaves the button area
  • onMouseUp: Function - function to be called when the button is clicked and held elsewhere, then release it above the object.
  • onMouseDown: Function - function to be called when the button is clicked or then held elsewhere.

Order: onMouseDown -> onMouseUp -> onClick

Styling

  • isDisabled: Bool - determine whether or not the button is disabled.
  • theme: String'default', 'primary', 'danger' - bootstrap like theme.
  • href: String - url redirect after clicked.
  • width: Number - width of the button
  • height: Number - height of the button
0.0.11

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago