2.1.1 • Published 6 years ago

@materialr/button v2.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

MaterialR Button

@materialr/button

Build Status Coverage Status NSP Status semantic-release

Material button implementation for React

Installation

$ npm install --save @materialr/button

Demo

A full demo is available on the MaterialR website showcasing all variants.

Components

Default export

import Button from '@materialr/button';

Props

PropTypeRequiredDefaultDescription
childrenstring / nodeYesN/AThe text - or elements - to render inside the button
classNamestringNoundefinedAdditional classNames to add to the button
denseboolNofalseWhether to render the dense button variant
disabledboolNofalseWhether the button is disabled
onClickfuncNoundefinedThe button's click handler
outlinedboolNofalseWhether to render the outlined button variant
raisedboolNofalseWhether to render the raised button variant
rippleboolNofalseWhether to add a ripple effect to the button
typeenum (button/submit/clear)NobuttonThe button's type attribute
unelevatedboolNofalseWhether to render the unelevated button variant
2.1.1

6 years ago

2.1.0

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago