import { T } from 'Components' import { usePersistingState } from 'Components/utils/persistState' import withLanguage from 'Components/utils/withLanguage' import React from 'react' import emoji from 'react-easy-emoji' export default withLanguage(function SimulateurWarning({ simulateur, language }) { let [folded, fold] = usePersistingState( 'app::simulateurs:warning-folded', false ) return (

{emoji('🚩 ')} Avant de commencer... {' '} {folded && ( )}

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