fbz
Version:
Fork of the OpenBazaar 2.0 browser-based client.
21 lines (19 loc) • 537 B
JavaScript
import { getPoly } from 'util/polyglot';
import React from 'react';
export default function(props) {
return (
<div className="RetryError">
<div className="RetryError-errorMessage clrTErr row">
{props.errorMessage}
</div>
<div className="RetryError-btnRetryWrap txCtr">
<button
className="RetryError-btnRetry btn clrP"
onClick={props.onRetryClick}
>
{props.btnRetryLabel || getPoly().t('retryError.btnRetry')}
</button>
</div>
</div>
);
}