Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

271
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda