REACT 6
//remember that style needs double {}
const picture={
url: "https://.../635258.jpg",
width: 100,
height: 100
}
function Imma({pic}){
return (
<img
className= {cubo}
src= {pic.url}
style={{
height: pic.height + "px",
width: pic.width + 30 + "px"
}}
/>
)
}
React-Bootstrap Navbar and Carousel

PreviousREACT 5, useRef() instance methods, React keyframe animations, useRef() scroll, onDrag() and onDrop() React EventsNextReact-Spring-1 useSpring(), config, To() interpolate render, useTransition(), React-use-measure.
Last updated