Skip to content

Commit

Permalink
Merge pull request #463 from gponsinet/fix/gponsinet/text-background-…
Browse files Browse the repository at this point in the history
…cols

fix(rn): render text background children as cols
  • Loading branch information
Godefroy Ponsinet committed Oct 24, 2018
2 parents b1bf69b + 9cef0f5 commit d06ff3c
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 d06ff3c

Please sign in to comment.