4
0
forked from crowetic/commerce

Adding Icons

This commit is contained in:
Belen Curcio 2020-09-29 20:00:09 -03:00
parent bfcdbb2449
commit 5e115ade3c
3 changed files with 9 additions and 3 deletions

View File

@ -3,6 +3,7 @@ import React, { FunctionComponent } from "react";
import s from "./Navbar.module.css";
import { Logo, Container } from "@components/ui";
import { Avatar, Searchbar } from "@components/core";
import { Heart, Bag } from "@components/icon";
interface Props {
className?: string;
children?: any;
@ -21,7 +22,9 @@ const Navbar: FunctionComponent<Props> = ({ className }) => {
<a>Accesories</a>
</nav>
</div>
<nav>
<nav className="flex flex-row items-center">
<Bag className="mr-6" />
<Heart className="mr-6" />
<Avatar />
</nav>
</Container>

View File

@ -2,5 +2,5 @@ export { default as Avatar } from "./Avatar";
export { default as Featurebar } from "./Featurebar";
export { default as Footer } from "./Footer";
export { default as Layout } from "./Layout";
export { default as Navbar } from "./Avatar";
export { default as Searchbar } from "./Avatar";
export { default as Navbar } from "./Navbar";
export { default as Searchbar } from "./Searchbar";

3
components/icon/index.ts Normal file
View File

@ -0,0 +1,3 @@
export { default as Bag } from "./Bag";
export { default as Heart } from "./Heart";
export { default as Trash } from "./Trash";