message: Allow passing the full button to Modal
diff: import preact from 'preact';
  import Portal from 'preact-portal';
  import t from '../Utility/i18n';
  +import PropTypes from 'prop-types';
  export default class Modal extends preact.Component {
  render() {
  - let positiveButton = this.props.positiveText ? (
  + const positiveButton =
  + this.props.positiveButton ||
  + (this.props.positiveText ? (
  <button
  className={'button ' + (this.props.positiveDefault ? 'button-primary' : 'button-secondary')}
  onClick={this.props.onPositiveFeedback}
  @@ -13,8 +16,10 @@ export default class Modal extends preact.Component {
  </button>
  ) : (
  ''
  - );
  - let negativeButton = this.props.negativeText ? (
  + ));
  + const negativeButton =
  + this.props.negativeButton ||
  + (this.props.negativeText ? (
  <button
  className={'button ' + (!this.props.positiveDefault ? 'button-primary' : 'button-secondary')}
  onClick={this.props.onNegativeFeedback}
  @@ -23,7 +28,7 @@ export default class Modal extends preact.Component {
  </button>
  ) : (
  ''
  - );
  + ));
  /* eslint-disable jsx-a11y/no-noninteractive-tabindex */
  return (
  <Portal into="body">
  