Skip to content
Snippets Groups Projects
Commit 60469c43 authored by Nipa Das's avatar Nipa Das
Browse files

Merge branch 'features/Adam/image' into 'development'

Features/adam/image

See merge request nipa.das/sample_argon!8
parents c88d1b74 ea967b03
No related branches found
No related tags found
2 merge requests!7Revert "Merge branch 'features/Adam/image' into 'development'",!5Features/ashok/cards
.customButton {
background-color: red;
}
......@@ -8,5 +8,4 @@ function Button(props) {
}
Button.propTypes = {};
export default Button;
.card-profile-image {
max-width: 140px;
border: 3px solid #fff;
border-radius: 0.375rem;
}
import React from "react";
import PropTypes from "prop-types";
import "./Image.scss";
// Profile Image common components
function Image({src, width}) {
return (
<>
<div className="card-profile-image">
<img src={src} width={width} className="rounded-circle card-profile-image"/>
</div>
</>
);
}
Image.propTypes = {
src: PropTypes.string,
width: PropTypes.string
};
export default Image;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment