diff --git a/src/Footer.tsx b/src/Footer.tsx index 1248d7759..ebd6c62c5 100644 --- a/src/Footer.tsx +++ b/src/Footer.tsx @@ -72,6 +72,7 @@ export type FooterProps = { >; style?: CSSProperties; linkList?: FooterProps.LinkList.List; + domains?: string[]; }; export namespace FooterProps { @@ -160,6 +161,12 @@ export const Footer = memo( homeLinkProps: homeLinkProps_prop, style, linkList, + domains = [ + "legifrance.gouv.fr", + "gouvernement.fr", + "service-public.fr", + "data.gouv.fr" + ], ...rest } = props; @@ -312,12 +319,7 @@ export const Footer = memo( classes.contentList )} > - {[ - "legifrance.gouv.fr", - "gouvernement.fr", - "service-public.fr", - "data.gouv.fr" - ].map((domain, i) => ( + {domains.map((domain, i) => (