// import { ActionButton } from '/imports/client/components/actionButton/actionButton'; import _ from 'lodash'; import React, { Component } from 'react'; import { Loading } from '/imports/client/components/Loading'; import classNames from 'classnames'; /* this.onSend()} // error = {this.state.error} > Send invite */ export class ActionButton extends Component { render() { if(this.props.loading) { return (
); } return (
(this.props.onAction && this.props.onAction())} > {this.props.children}
); }; };