Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import * as React from 'react';
- import { Text, View, StyleSheet } from 'react-native';
- export default class App extends React.Component {
- render() {
- return (
- <View style={styles.flex}>
- <Text style={styles.textSize}>
- Size :
- </Text>
- <Text style={styles.textSizeValue}>
- 12
- </Text>
- </View>
- );
- }
- }
- const styles = StyleSheet.create({
- flex: {
- flexDirection:'row',
- },
- textSize: {
- fontSize: 10,
- fontWeight: '600',
- textAlign: 'center',
- },
- textSizeValue: {
- fontSize: 10,
- fontWeight: 'bold',
- textAlign: 'center',
- color:'#EE532F',
- marginLeft:5,
- },
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement