Added avatar component
This commit is contained in:
1 parent
a0fee0c99a
commit
7a820cffb1
4 files changed
+56
No files matched your search
@@ -3,6 +3,8 @@ import DropdownTeamMember from "../../Components/DropdownTeamMember";
|
||||
import "./index.css";
|
||||
import Button from "../../Components/Button";
|
||||
import Link from "../../Components/Link";
|
||||
import Avatar from "../../Components/Avatar/Avatar";
|
||||
import avatarImage from "../../assets/Images/avatar_placeholder.png";
|
||||
|
||||
const Home = () => {
|
||||
return (
|
||||
@@ -33,6 +35,18 @@ const Home = () => {
|
||||
url={"https://www.google.com"}
|
||||
/>
|
||||
</div>
|
||||
<h4>Avatar</h4>
|
||||
<div style={{ display: "flex" }}>
|
||||
<Avatar src={avatarImage} firstName="Alex" lastName="Holliday" />
|
||||
<Avatar firstName="Alex" lastName="Holliday" />
|
||||
<Avatar
|
||||
src={avatarImage}
|
||||
firstName="Alex"
|
||||
lastName="Holliday"
|
||||
small
|
||||
/>
|
||||
<Avatar firstName="Alex" lastName="Holliday" small />
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user