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

fix: Remove style prop from touchable #550

Merged
merged 1 commit into from
Sep 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: Remove style prop from touchable
  • Loading branch information
gawrysiak committed Sep 18, 2018
commit 55bae0b5a4d7360feeb0ec888c0f26b320747f3a
4 changes: 0 additions & 4 deletions src/components/Card/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ class Card extends React.Component<Props, State> {
onPress={onPress}
onPressIn={onPress ? this._handlePressIn : undefined}
onPressOut={onPress ? this._handlePressOut : undefined}
style={styles.container}
>
<View style={styles.innerContainer}>
{React.Children.map(
Expand All @@ -144,9 +143,6 @@ class Card extends React.Component<Props, State> {
}

const styles = StyleSheet.create({
container: {
flex: 1,
},
innerContainer: {
flexGrow: 1,
},
Expand Down