Skip to content
Snippets Groups Projects
Commit 0ca84a20 authored by Prajakta Sathwane's avatar Prajakta Sathwane
Browse files

Merge branch 'Argon/sindhu/image' into 'feature/dushyanth'

Argon/sindhu/image

See merge request prajakta.sathwane/sample_argon!6
parents e249e755 d639b05c
Branches
No related tags found
No related merge requests found
//import noImg from './noimg.png'
import team1 from "./team-1.jpg"
import hand1 from "./hand1.png"
import team4 from "./team-4.jpg"
export {team1,hand1}
export {team4}
import React from "react";
import PropTypes from "prop-types";
function Avatar(props) {
const { customClass, src, alt, width,height,id} = props;
return (
<img
id={id}
className={customClass}
src={src}
alt={alt}
height={height}
width={width}
/>
);
}
Avatar.propTypes = {
src: PropTypes.oneOfType([PropTypes.string, PropTypes.object]).isRequired,
alt: PropTypes.string.isRequired,
customClass: PropTypes.string,
height: PropTypes.string,
width: PropTypes.string,
id:PropTypes.string
};
Avatar.defaultProps = {
src: require("../../assets/img/theme/noImg.png"),
alt: "Image",
height: "36px",
width: "36px",
customClass:"rounded-circle"
}
export default Avatar;
import React from "react";
import PropTypes from "prop-types";
function Login(props) {
return <div>
Login
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment