We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17012b1 commit 5af5b47Copy full SHA for 5af5b47
src/components/DraftJsText.js
@@ -7,9 +7,7 @@
7
// @flow
8
9
import React from 'react';
10
-import {
11
- Text,
12
-} from 'react-native';
+import { Text } from 'react-native';
13
14
import loadAttributes from '../loadAttributes';
15
@@ -34,7 +32,7 @@ const DraftJsText = (props: DraftJsTextPropsType): any => {
34
32
35
33
return (
36
<Text
37
- style={[defaultStyles[props.type], customStyle, textAlignStyle]}
+ style={[defaultStyles[props.type], textAlignStyle, customStyle]}
38
>{textElements}
39
</Text>);
40
}
0 commit comments