Skip to content

Commit

Permalink
add message to notify of context change
Browse files Browse the repository at this point in the history
  • Loading branch information
jerem1508 committed Oct 27, 2023
1 parent 1549d83 commit a8cb33a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button, Col, Row, Modal, ModalContent, ModalTitle, Icon } from '@dataesr/react-dsfr';
import { Button, Col, Row, Modal, ModalContent, ModalTitle, Icon, Text } from '@dataesr/react-dsfr';
import PropTypes from 'prop-types';
import { useState } from 'react';
import { useOutletContext, useParams } from 'react-router-dom';
Expand Down Expand Up @@ -53,6 +53,11 @@ export default function ChartComponents({ charts, title, icon }) {
<Modal isOpen={showModal} size="lg" hide={() => setShowModal(false)}>
<ModalTitle>Sélection d'un ou plusieurs pays</ModalTitle>
<ModalContent>
<Text>
<i>
Cliquez sur un pays ou un groupe de pays afin de mettre à jour les graphiques. Plusieurs sélections sont possibles.
</i>
</Text>
<Filters
bordersIsoCodes={bordersIsoCodes}
currentIsoCode={isoCode}
Expand Down

0 comments on commit a8cb33a

Please sign in to comment.