import { ComponentType, ElementType } from 'react'; import { Button, Flex, Icon, useDisclosure } from "@chakra-ui/react" import { FaPlus } from "react-icons/fa" interface NavbarProps { type: string addModalAs: ComponentType | ElementType } const Navbar = ({ type, addModalAs }: NavbarProps) => { const addModal = useDisclosure() const AddModal = addModalAs return ( <> {/* TODO: Complete search functionality */} {/* */} ) } export default Navbar