UNPKG

shift-admin-ui-kit

Version:
21 lines (18 loc) 428 B
// import libraries import React, { Component } from "react" import classNames from "classnames" export default class Button extends Component { render() { let { className, status, children, ...otherProps } = this.props return <button className={ classNames('o-button', `o-button--${status}`, className) } tabIndex="0" { ...otherProps } >{ children }</button> } }