Skip to content

Commit

Permalink
fix(rn): render text background children as cols
Browse files Browse the repository at this point in the history
Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
  • Loading branch information
90dy committed Oct 24, 2018
1 parent b1bf69b commit 9cef0f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/react-native/common/components/Library/Text.js
Expand Up @@ -267,13 +267,13 @@ export class BackgroundText extends PureComponent {
self,
}
return (
<Flex.Block
<Flex.Cols
{...flexProps}
style={BackgroundText.getStyles(this.props)}
onPress={this.props.onPress}
>
{children}
</Flex.Block>
</Flex.Cols>
)
}
}
Expand Down

0 comments on commit 9cef0f5

Please sign in to comment.