Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

display image base64 in REACT NATIVE

const encodedBase64 = 'R0lGODlhAQABAIAAAAAA...7';
<Image source={{uri: `data:image/gif;base64,${encodedBase64}`}} />
Comment

image react native base64

<Image style={{width: 100, height: 50, resizeMode: Image.resizeMode.contain, borderWidth: 1, borderColor: 'red'}} source={{uri: base64Icon}}/>
Comment

PREVIOUS NEXT
Code Example
Javascript :: hydration in next js 
Javascript :: create random password 
Javascript :: write head node js 
Javascript :: react table handling multiple selected checkbox 
Javascript :: jq break line 
Javascript :: make custom draggable in react 
Javascript :: how to check if it is the current time day.js 
Javascript :: update html text 
Javascript :: write !important in react 
Javascript :: how to change Mime type of a file express 
Javascript :: redux action creators 
Javascript :: function as object 
Javascript :: $(...).Datatables is not a function 
Javascript :: mongoose populate array of ids 
Javascript :: emailjs react 
Javascript :: javascript table functions 
Javascript :: javascript image preview before upload 
Javascript :: react query 
Javascript :: _.pluck 
Javascript :: add new html from javascript 
Javascript :: How to add js file to a site through url 
Javascript :: js electron setup 
Javascript :: js change object value 
Javascript :: javascript if equal infinity 
Javascript :: gsap react 
Javascript :: arrow function javascript rules 
Javascript :: queryselector multiple attributes 
Javascript :: scss variables in react 
Javascript :: jqvmap 
Javascript :: math. javascript 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =