import React from 'react'; import Icon, { HomeOutlined } from '@ant-design/icons'; import { Space } from 'antd'; import type { GetProps } from 'antd'; type CustomIconComponentProps = GetProps; const HeartSvg = () => ( heart icon ); const PandaSvg = () => ( Panda icon ); const HeartIcon = (props: Partial) => ( ); const PandaIcon = (props: Partial) => ( ); const App: React.FC = () => ( } /> ); export default App;