Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

269
Views
react native : How to increase the font?

In my example I want to increase the font of the variables What is the way to increase the font of elem.Sampling_Method_Code in my case ?

var digumMethods = '';
    execDetailData.forEach((elem) => {
      digumMethods = digumMethods + '\n' + elem.Sampling_Method_Code + '\n' + elem.Parameters_String + '\n' +__________' + '\n';
    });

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

This one can help

const bigTextElement = (text) => <Text style={{fontSize:20}}>{text}</Text>;

var digumMethods = '';
    execDetailData.forEach((elem) => {
      digumMethods = bigTextElement(digumMethods) + '\n' + elem.Sampling_Method_Code + '\n' + elem.Parameters_String + '\n' +__________' + '\n';
    });
about 4 years ago · Juan Pablo Isaza Report

0

You can nest Text elements (sample).

import * as React from 'react';
import { Text, View, StyleSheet } from 'react-native';
import Constants from 'expo-constants';

export default function App() {
  return (
    <View style={styles.container}>
      <Text style={styles.smallText}>
        Small text <Text style={styles.bigText}>Bigger text</Text> Small Text
      </Text>
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    paddingTop: Constants.statusBarHeight,
    backgroundColor: '#ecf0f1',
    padding: 8,
  },
  smallText: {
    margin: 24,
    fontSize: 18,
    fontWeight: 'bold',
    textAlign: 'center',
    color: '#ff0000'
  },
  bigText: {
    margin: 24,
    fontSize: 38,
    fontWeight: 'bold',
    textAlign: 'center',
    color: '#000000'
  },
});
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!