import React from 'react'; import { Anchor } from 'antd'; const onChange = (link: string) => { console.log('Anchor:OnChange', link); }; const App: React.FC = () => ( ); export default App;