import React from 'react'; import { Anchor } from 'antd'; const handleClick = ( e: React.MouseEvent, link: { title: React.ReactNode; href: string; }, ) => { e.preventDefault(); console.log(link); }; const App: React.FC = () => ( ); export default App;