import React from 'react'; import translate from 'translations'; import { messageActions } from 'features/message'; interface Props { message: string; signMessageRequested: messageActions.TSignMessageRequested; } export default class SignMessageButton extends React.Component { public render() { return ( ); } private handleSignMessage = () => { const { signMessageRequested, message } = this.props; signMessageRequested(message); }; }