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

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

{!folded && (
)}
) }