import React from "react"; import PropTypes from "prop-types"; import "./button.scss"; export class Button extends React.Component { constructor(props){ super(props); } render() { let props = Object.assign({}, this.props); delete props.theme; let className = this.props.theme || "" if(this.props.className){ className += " " + this.props.className } return ( ); } } Button.propTypes = { theme: PropTypes.string };