NextJSNetflix/components/NavbarItem.tsx

14 lines
283 B
TypeScript

import React from "react";
interface NavbarItemProps {
label: String;
}
const NavbarItem: React.FC<NavbarItemProps> = ({label}) => {
return (
<div className="text-white cursor-pointer hover:text-gray-300 transition">
{label}
</div>
)
}
export default NavbarItem