@ied/button

## Install

Stats

StarsIssuesVersionUpdatedCreatedSize
@ied/button
1.0.12 years ago3 years agoMinified + gzip package size for @ied/button in KB

Readme

Button (deprecated, please use https://github.com/material-components/material-components-web-react/tree/master/packages/button)

Install

yarn add @ied/button

Use

import Button from '@ied/button'

<Button
  type="submit"
  className="button"
  raised
  ripple
  style={{ marginRight: 20 }}
  onClick={e => console.log('Button 1 clicked')}
>
  Button 1
</Button>

<Button raised onClick={e => console.log('Button 2 clicked')}>
  Button 2
</Button>

Types

type Props = {
  className?: string,
  children?: React$Node,
  style?: {},
  onClick?: (e: SyntheticInputEvent<HTMLButtonElement>) => void,
  raised?: boolean,
  disabled?: boolean,
  type?: string,
  ripple?: boolean,
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.