-
Notifications
You must be signed in to change notification settings - Fork 192
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
[BPK-1043] Remove selected button state #188
Conversation
And also examples of buttons with both text and icon.
Generated by 🚫 dangerJS |
5ee0de9
to
33c8838
Compare
@@ -44,11 +44,9 @@ export default class App extends Component { | |||
<View style={styles.container}> | |||
<BpkButton type="primary" title={translationHelper.translate('BOOK_FLIGHT')} onPress={() => {}} /> | |||
<BpkButton type="featured" title={translationHelper.translate('BOOK_FLIGHT')} onPress={() => {}} /> | |||
<BpkButton selected type="secondary" title={translationHelper.translate('BOOK_FLIGHT')} onPress={() => {}} /> |
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.
Removing the selected
one.
<BpkButton disabled type="destructive" title={translationHelper.translate('BOOK_FLIGHT')} onPress={() => {}} /> | ||
<BpkButton large type="primary" title={translationHelper.translate('BOOK_FLIGHT')} onPress={() => {}} /> | ||
|
||
<BpkButton type="primary" title={translationHelper.translate('BOOK_FLIGHT')} icon={ArrowImage} onPress={() => {}} /> |
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.
Removing example of a button with both text and icon.
</View> | ||
</BVLinearGradient> | ||
`; | ||
|
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 haven't removed tests for buttons that have both text and an icon, because as discussed we're not removing it, just not advertising the functionality.
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.
LGTM
And also examples of buttons with both text and icon (not the code, just the references to it in docs, as discussed).