Проблема в 99% не в свг. Скорее всего в других частях кода, например сотни ненужных ререндеров и тому подобные извращения которые иногда есть в коде.
P.S ты можешь взять PNG да и всё.
import React from 'react'
import { View, Text, Pressable } from 'react-native';
import { styles } from './style';
import { DeleteLeftIcon } from 'assets';
import { Shadow } from 'react-native-shadow-2';
import { shadowHeader } from 'constructor';
const NumberKeyboard = () => {
const [value, setValue] = React.useState<number[]>([])
return (
<View style={styles.container}>
<View style={styles.inputContainer}>
{value && value?.map((number, indx) => (
<Text key={indx} style={styles.inputText}>{number}</Text>
))}
</View>
<View style={{ flexDirection: 'column', gap: 20 }}>
<View style={styles.keyboardContainer}>
<Shadow {...shadowHeader}>
<Pressable style={styles.keyboardButton} onPress={() => setValue([...value, 1])}>
<Text style={styles.keyboardButtonText}>1</Text>
</Pressable>
</Shadow>
<Shadow {...shadowHeader}>
<Pressable style={styles.keyboardButton} onPress={() => setValue([...value, 2])}>
<Text style={styles.keyboardButtonText}>2</Text>
</Pressable>
</Shadow>
<Shadow {...shadowHeader}>
<Pressable style={styles.keyboardButton} onPress={() => setValue([...value, 3])}>
<Text style={styles.keyboardButtonText}>3</Text>
</Pressable>
</Shadow>
</View>
<View style={styles.keyboardContainer}>
<Shadow {...shadowHeader}>
<Pressable style={styles.keyboardButton} onPress={() => setValue([...value, 4])}>
<Text style={styles.keyboardButtonText}>4</Text>
</Pressable>
</Shadow>
<Shadow {...shadowHeader}>
<Pressable style={styles.keyboardButton} onPress={() => setValue([...value, 5])}>
<Text style={styles.keyboardButtonText}>5</Text>
</Pressable>
</Shadow>
<Shadow {...shadowHeader}>
<Pressable style={styles.keyboardButton} onPress={() => setValue([...value, 6])}>
<Text style={styles.keyboardButtonText}>6</Text>
</Pressable>
</Shadow>
</View>
<View style={styles.keyboardContainer}>
<Shadow {...shadowHeader}>
<Pressable style={styles.keyboardButton} onPress={() => setValue([...value, 7])}>
<Text style={styles.keyboardButtonText}>7</Text>
</Pressable>
</Shadow>
<Shadow {...shadowHeader}>