react native seperator code
<View
style={{
borderBottomColor: 'black',
borderBottomWidth: 1,
}}
/>
react native seperator code
<View
style={{
borderBottomColor: 'black',
borderBottomWidth: 1,
}}
/>
how to place a line break in react native
you need use {'\n'} as line breaks in text component, whenever you need to add line break in react native application
line separator with text in the center react native
<View style={{flexDirection: 'row'}}>
<View style={{backgroundColor: 'black', height: 2, flex: 1, alignSelf: 'center'}} />
<Text style={{ alignSelf:'center', paddingHorizontal:5, fontSize: 24 }}>Your class</Text>
<View style={{backgroundColor: 'black', height: 2, flex: 1, alignSelf: 'center'}} />
</View>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us