Capítulo 100 de 147
Learn how to combine multiple icons into a single icon nested SVG elements in your React Native application.
import React, {useState, useEffect} from 'react';
import { View, StyleSheet } from 'react-native';
import { Scan, User} from "lucide-react-native";
const App = () => {
return (
<View style={styles.container}>
<Scan size={48}>
<User
size={12}
x={6}
y={6}
absoluteStrokeWidth
/>
</Scan>
</View>
);
};
const styles = StyleSheet.create({
container: {
height: '100%',
alignItems: 'center',
display: 'flex',
justifyContent: 'center'
},
});
export default App;