mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-06 13:43:59 -05:00
24 lines
364 B
TypeScript
24 lines
364 B
TypeScript
import type { NavBarProps } from "$/types/Nav";
|
|
import clsx from "clsx";
|
|
|
|
|
|
export default function NavBar(props: NavBarProps){
|
|
const {
|
|
className,
|
|
children
|
|
} = props;
|
|
|
|
|
|
return (
|
|
<nav
|
|
className={clsx(
|
|
className,
|
|
"fixed top-0 left-0 w-full z-10",
|
|
"flex flex-row flex-nowrap items-center justify-between"
|
|
)}
|
|
>
|
|
{children}
|
|
</nav>
|
|
);
|
|
}
|