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