I don’t know if I understand your question, but if what you’re trying to do is add a space inside a text you can do like this:
<Text style={styles.sectionTitle}>{' '}Debug{' '}</Text>
Or you can create an empty view with the size of the spacing you need, for example if you want a horizontal space:
<View style={{flexDirection: 'row'}}>
<Componente1>
//conteúdo
</Componente1>
<View style={{height: <tam espacamento> width: < tam espacamento>}} </View>
<Componente2>
//Conteudo
</Componente2>
</View>
I advise you to create a component in your project to put spaces anywhere:
function Spacer(props) {
return <View style={{height: props.size, width: props.size}} />;
}
Can use like this:
<View style={{flexDirection: 'row'}}>
<Componente1>
//conteúdo
</Componente1>
<Spacer size={16}/> //16 Como exemplo de tamanho para o espaçamento desejado.
<Componente2>
//Conteudo
</Componente2>
</View>
If not that, please replicate. ;)
Please check the replies and tick one as the response to your post
– novic