-
Notifications
You must be signed in to change notification settings - Fork 0
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
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.
Looks good. Just some minor convention stuff.
demo/content/ButtonGroup.js
Outdated
TitleBar, | ||
View | ||
} from '../../src' | ||
|
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.
No new line as per conventions
src/components/Button/index.js
Outdated
ButtonElement = Link | ||
buttonLinkObj = { to: this.props.link } | ||
} | ||
if (this.props.indexLink) ButtonElement = IndexLink |
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.
New line after multi-line blocks as per convention? I think?
src/components/Button/index.js
Outdated
buttonStyle.borderColor = | ||
`rgba(${buttonColorRGB.r}, | ||
${buttonColorRGB.g}, | ||
${buttonColorRGB.b}, 0.6)` | ||
delete buttonStyle.backgroundColor |
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.
New line after multi-line blocks as per convention? I think?
src/components/Button/index.js
Outdated
rgba(${buttonColorRGB.r}, | ||
${buttonColorRGB.g}, | ||
${buttonColorRGB.b}, 1)` | ||
delete buttonStyle.backgroundColor |
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.
New line after multi-line blocks as per convention? I think?
src/components/ButtonGroup/index.js
Outdated
rgba(${buttonColorRGB.r}, | ||
${buttonColorRGB.g}, | ||
${buttonColorRGB.b}, 1)` | ||
style.borderRadius = '3px' |
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.
New line after multi-line blocks as per convention? I think?
demo/content/ButtonGroup.js
Outdated
TitleBar, | ||
View | ||
} from '../../src' | ||
import { Button, ButtonGroup, Grid, GridCell, Spacer, Text, Title, TitleBar, View } from '../../src' | ||
|
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.
Oh sorry I meant new lines between imports. So no line between line 2 and 4
ButtonGroup
ButtonGroup
including:list
,segmented
,normal
translucent
prop toButton