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

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

{!folded && ( )} {!folded && (
)}
) })