import React, { useState } from 'react' import emoji from 'react-easy-emoji' export default function SimulateurWarning({ simulateur, autoFolded }) { let [userFolded, userFold] = useState(undefined) let folded = userFolded === undefined ? autoFolded : userFolded, toggle = () => userFold(!userFolded) return (

{emoji('🚩 ')} Outil en cours de développement {folded && (plus d'info)}

{!folded && ( )} {!folded && (
J'ai compris
)}
) }