Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

270
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda