import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; import { Components, registerComponent } from 'meteor/vulcan:core'; export class AccountsButton extends PureComponent { render () { const { label, // href = null, type, disabled = false, className, onClick } = this.props; return type === 'link' ? {label} : {label} ; } } AccountsButton.propTypes = { onClick: PropTypes.func }; registerComponent('AccountsButton', AccountsButton);