-
Notifications
You must be signed in to change notification settings - Fork 60
Implement click to send functionality in React - Closes #516 #534
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the sake of consistency, please use this component in Header
import { fromRawLsk } from '../../utils/lsk'; | ||
|
||
|
||
const ClickToSendComponent = props => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you please rename the Send component to SendForm, then you can use Send for this component. TBH, I don't like the name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I gave it some thought and I couldn't think of another name that exactly expresses what the component does. I like the name
title: 'Send', | ||
childComponent: Send, | ||
childComponentProps: { | ||
amount: props.rawAmount ? fromRawLsk(props.rawAmount) : props.amount, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This coms handy. Bingo
Closes #516