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