import useFetchImageUrl from '@/components/Hooks/useFetchImageUrl'; import { Image } from 'antd'; import React from 'react'; import './index.css'; interface Props { src?: string; title: string; width?: string | number; height?: string | number; fallback?: string; imageInstanceId?: string; } const TimelineImage: React.FC = (props) => { const { src, title, imageInstanceId, fallback, width = 200, height = 200 } = props; const imageUrl = useFetchImageUrl(imageInstanceId ?? ''); return (
{title}
); }; export default TimelineImage;