2018-01-29 22:58:07 +00:00
|
|
|
import { GenerateTransactionFactory } from './GenerateTransactionFactory';
|
|
|
|
import React from 'react';
|
|
|
|
import translate from 'translations';
|
|
|
|
|
|
|
|
export const GenerateTransaction: React.SFC<{}> = () => (
|
|
|
|
<GenerateTransactionFactory
|
|
|
|
withProps={({ disabled, isWeb3Wallet, onClick }) => (
|
|
|
|
<button disabled={disabled} className="btn btn-info btn-block" onClick={onClick}>
|
2018-03-22 03:50:25 +00:00
|
|
|
{isWeb3Wallet ? translate('SEND_GENERATE') : translate('DEP_SIGNTX')}
|
2018-01-29 22:58:07 +00:00
|
|
|
</button>
|
|
|
|
)}
|
|
|
|
/>
|
|
|
|
);
|