MyCrypto/common/components/SendButton.tsx

18 lines
478 B
TypeScript

import React from 'react';
import { SendButtonFactory } from './SendButtonFactory';
import translate from 'translations';
export const SendButton: React.SFC<{}> = () => (
<SendButtonFactory
withProps={({ onClick }) => (
<div className="row form-group">
<div className="col-xs-12">
<button className="btn btn-primary btn-block" onClick={onClick}>
{translate('SEND_trans')}
</button>
</div>
</div>
)}
/>
);