Skip to content
This repository was archived by the owner on Apr 15, 2019. It is now read-only.

Implement click to send functionality in React - Closes #516 #534

Merged
merged 6 commits into from
Aug 2, 2017

Conversation

slaweet
Copy link
Contributor

@slaweet slaweet commented Jul 31, 2017

Closes #516

@slaweet slaweet added the update label Jul 31, 2017
@slaweet slaweet self-assigned this Jul 31, 2017
@slaweet slaweet requested a review from reyraa July 31, 2017 07:55
Copy link
Contributor

@reyraa reyraa left a 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 => (
Copy link
Contributor

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

Copy link
Contributor Author

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,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This coms handy. Bingo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants