Skip to content
Snippets Groups Projects

Feature/manjusha/sidebar1

3 files
+ 36
23
Compare changes
  • Side-by-side
  • Inline
Files
3
import React from "react";
import "./style.css";
const Hello= () => {
return(
<div className="primary">
<img src="./gani.jpg" alt="image not found"/>
</div>
)
function Image(props) {
const { imageClass, src, alt, width,height,id} = props;
return (
<img
id={id}
className={imageClass }
src={src}
alt={alt}
height={height}
width={width}
/>
);
}
export default Hello;
\ No newline at end of file
export default Image;
\ No newline at end of file
Loading