File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ export type FooterProps = {
7272 > ;
7373 style ?: CSSProperties ;
7474 linkList ?: FooterProps . LinkList . List ;
75+ domains ?: string [ ] ;
7576} ;
7677
7778export namespace FooterProps {
@@ -160,6 +161,12 @@ export const Footer = memo(
160161 homeLinkProps : homeLinkProps_prop ,
161162 style,
162163 linkList,
164+ domains = [
165+ "legifrance.gouv.fr" ,
166+ "gouvernement.fr" ,
167+ "service-public.fr" ,
168+ "data.gouv.fr"
169+ ] ,
163170 ...rest
164171 } = props ;
165172
@@ -312,12 +319,7 @@ export const Footer = memo(
312319 classes . contentList
313320 ) }
314321 >
315- { [
316- "legifrance.gouv.fr" ,
317- "gouvernement.fr" ,
318- "service-public.fr" ,
319- "data.gouv.fr"
320- ] . map ( ( domain , i ) => (
322+ { domains . map ( ( domain , i ) => (
321323 < li
322324 className = { cx (
323325 fr . cx ( "fr-footer__content-item" as any ) ,
You can’t perform that action at this time.
0 commit comments