We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(write your answer here) NO
(Write your answer here.) Yes
react-native -v
node -v
npm -v
yarn --version
react-native-cli: 2.0.1 react-native: 0.47.2 node v8.2.1 npm 5.3.0 Then, specify:
(Write your steps here:)
<View style={{flex: 1, alignItems: 'center', backgroundColor: 'red'}}> <Text style={{margin: 20, textAlign: 'center',backgroundColor: 'white'}}>文本样式继承</Text> <View style={{marginHorizontal: 20,alignSelf: 'flex-start', backgroundColor: '#333333'}}> <Text style={{color: 'white',marginHorizontal: 20}}> <Text style={{color: 'red'}} > 文本元素{'\n'} <Text style={{ backgroundColor: 'yellow'}} numberOfLines={1} ellipsizeMode="clip"> 我是白色的还是红色的我是白色的还是红色的我是白色的还是红色的我是白色的还是红色的我是白色的还是红色的我是白色的还是红色的{'\n'} 我是白色的还是红色的我是白色的还是红色的我是白色的还是红色的我是白色的还是红色的我是白色的还是红色的我是白色的还是红色的{'\n'} </Text> </Text> <Text>我是白色的还是红色的</Text> </Text> </View> </View>
numberOfLines does not work!
(Write what you thought would happen.)
(Write what happened. Add screenshots!)
(Paste the link to an example project and exact instructions to reproduce the issue.)
The text was updated successfully, but these errors were encountered:
Is there no solution?
Sorry, something went wrong.
No branches or pull requests
Is this a bug report?
(write your answer here)
NO
Have you read the Contributing Guidelines?
(Write your answer here.)
Yes
Environment
react-native -v
:2.0.1node -v
:v8.2.1npm -v
:5.3.0yarn --version
:0.27.5react-native-cli: 2.0.1
react-native: 0.47.2
node v8.2.1
npm 5.3.0
Then, specify:
Steps to Reproduce
(Write your steps here:)
numberOfLines does not work!
Expected Behavior
(Write what you thought would happen.)
Actual Behavior
(Write what happened. Add screenshots!)
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
The text was updated successfully, but these errors were encountered: