UI Components

This commit is contained in:
Belen Curcio
2020-09-23 16:51:06 -03:00
parent 2d94841910
commit c699d16dda
16 changed files with 102 additions and 31 deletions

View File

@@ -0,0 +1,3 @@
.root {
@apply flex justify-between items-center px-4 py-5;
}

View File

@@ -0,0 +1,22 @@
import cn from "classnames";
import { FunctionComponent } from "react";
import s from "./Navbar.module.css";
import { Logo } from "ui";
interface Props {
className?: string;
children?: any;
}
const Navbar: FunctionComponent<Props> = ({ className }) => {
const rootClassName = cn(s.root, className);
return (
<div className={rootClassName}>
<Logo />
<div>SEARCH BAR</div>
<div>Menu list bar</div>
<div>Menu Icon bar</div>
</div>
);
};
export default Navbar;

View File

@@ -0,0 +1 @@
export { default } from "./Navbar";

1
components/index.ts Normal file
View File

@@ -0,0 +1 @@
export { default as Navbar } from "./Navbar";