Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Button Component #70

Merged
merged 9 commits into from
Mar 9, 2017
Merged

Updated Button Component #70

merged 9 commits into from
Mar 9, 2017

Conversation

stevenyuen
Copy link
Contributor

@stevenyuen stevenyuen commented Feb 20, 2017

  • Docs for ButtonGroup
  • Adding modes to ButtonGroup including: list, segmented, normal
  • Added translucent prop to Button

@stevenyuen stevenyuen self-assigned this Feb 20, 2017
@asabhaney asabhaney added this to the 1.7.0 milestone Feb 21, 2017
@stevenyuen stevenyuen changed the title Updated Button Component (1.7.0) Updated Button Component Feb 28, 2017
Copy link
Member

@asabhaney asabhaney left a comment

Choose a reason for hiding this comment

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

Looks good. Just some minor convention stuff.

TitleBar,
View
} from '../../src'

Copy link
Member

Choose a reason for hiding this comment

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

No new line as per conventions

ButtonElement = Link
buttonLinkObj = { to: this.props.link }
}
if (this.props.indexLink) ButtonElement = IndexLink
Copy link
Member

Choose a reason for hiding this comment

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

New line after multi-line blocks as per convention? I think?

buttonStyle.borderColor =
`rgba(${buttonColorRGB.r},
${buttonColorRGB.g},
${buttonColorRGB.b}, 0.6)`
delete buttonStyle.backgroundColor
Copy link
Member

Choose a reason for hiding this comment

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

New line after multi-line blocks as per convention? I think?

rgba(${buttonColorRGB.r},
${buttonColorRGB.g},
${buttonColorRGB.b}, 1)`
delete buttonStyle.backgroundColor
Copy link
Member

Choose a reason for hiding this comment

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

New line after multi-line blocks as per convention? I think?

rgba(${buttonColorRGB.r},
${buttonColorRGB.g},
${buttonColorRGB.b}, 1)`
style.borderRadius = '3px'
Copy link
Member

Choose a reason for hiding this comment

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

New line after multi-line blocks as per convention? I think?

TitleBar,
View
} from '../../src'
import { Button, ButtonGroup, Grid, GridCell, Spacer, Text, Title, TitleBar, View } from '../../src'

Copy link
Member

Choose a reason for hiding this comment

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

Oh sorry I meant new lines between imports. So no line between line 2 and 4

@asabhaney asabhaney merged commit 100fba9 into 1.6.0 Mar 9, 2017
@asabhaney asabhaney deleted the button-updates branch March 9, 2017 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants