import React from 'react'; import './Navbar.css'; interface Props { /** * The title of the Navbar to be displayed in the header. */ title: string; /** * An array of objects representing the links to be displayed in the Navbar. * Each object should have a `label` property for the text to be displayed, and a `to` property for the link location. */ links: { label: string; to: string; }[]; /** * callback function that will be called when the user clicks on any of the links. */ onLinkClick?: (e: React.MouseEvent) => void; } declare const Navbar: ({ title, links, onLinkClick }: Props) => JSX.Element; export default Navbar;