Capítulo 92 de 147
Learn how to adjust the color of icons in your React Native application using the color prop or by using parent elements text color value.
color propimport React, {useState, useEffect} from 'react';
import { View } from 'react-native';
import { Smile } from "lucide-react-native";
const style = { height: '100%', alignItems: 'center', display: 'flex', justifyContent: 'center' }
const App = () => {
return (
<View style={style}>
<Smile color="#3e9392" />
</View>
);
};
export default App;
color prop