import Link from 'next/link';
import { useState, Fragment, forwardRef } from 'react';
import Loader from '../Loader/Loader';
import './FunctionCard.css';
const FunctionCard = forwardRef((props, ref) => {
const [isLoading, setIsLoading] = useState(true);
const handleLoad = () => {
setIsLoading(false);
}
return (
{/* Elément à une hauteur pendant chargement */}
{isLoading &&
}
{props.title}
{props.description}
{props.category.name}
{props.publicationDate}
);
})
export default FunctionCard;