0.0.11 • Published 10 years ago

mdbutton v0.0.11

Weekly downloads
1
License
MIT
Repository
github
Last release
10 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

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago