Skip to content

Commit

Permalink
add text for changing context
Browse files Browse the repository at this point in the history
  • Loading branch information
jerem1508 committed Oct 26, 2023
1 parent 436395b commit 4769a55
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion client/src/pages/homepage/components/region-filters.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import { Container, Tag, TagGroup, Title } from '@dataesr/react-dsfr';
import { Container, Tag, TagGroup, Text, Title } from '@dataesr/react-dsfr';
import PropTypes from 'prop-types';
import regions from '../utils/regions';

export default function RegionFilters({ region, setRegion }) {
return (
<Container className="fr-py-3w">
<Title as="h1" look="h5" className="fr-mb-1w" bold>Zoom sur...</Title>
<Text>
<i>
Cliquez sur un bouton pour filtrer la carte et la liste ci-dessous
</i>
</Text>
<TagGroup>
{
Object.entries(regions).map(([label, key]) => (
Expand Down

0 comments on commit 4769a55

Please sign in to comment.