Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Add Image For React Native

const staticImage = require("./assets/favicon.png");
export default function App() {
  return (
       <Image
         style={styles.tinyLogo}
      source={staticImage}
       />
  );
}

Source by reactnative.dev #
 
PREVIOUS NEXT
Tagged: #Add #Image #For #React #Native
ADD COMMENT
Topic
Name
5+8 =