@@ -7,8 +7,8 @@ const { meta, getStory } = getStoryFactory({
77 sectionName,
88 "wrappedComponent" : { Quote } ,
99 "description" : `
10- - [See DSFR documentation](https: //www.systeme-de-design.gouv.fr/elements-d-interface/composants/citation)
11- - [See source code](https: //github.com/codegouvfr/react-dsfr/blob/main/src/Quote.tsx)` ,
10+ - [See DSFR documentation](//www.systeme-de-design.gouv.fr/elements-d-interface/composants/citation)
11+ - [See source code](//github.com/codegouvfr/react-dsfr/blob/main/src/Quote.tsx)` ,
1212 "disabledProps" : [ "lang" ]
1313} ) ;
1414
@@ -35,18 +35,46 @@ export const Default = getStory({
3535 </ li >
3636 </ >
3737 ) ,
38- image : "https://www.systeme-de-design.gouv.fr/img/placeholder.1x1.png"
38+ image : "//www.systeme-de-design.gouv.fr/img/placeholder.1x1.png" ,
39+ size : "xl" ,
40+ className : ""
41+ } ) ;
42+
43+ export const QuoteMediumAndAccent = getStory ( {
44+ text : "Lorem [...] elit ut. " ,
45+ author : "Auteur" ,
46+ source : (
47+ < >
48+ < li >
49+ < cite > Ouvrage</ cite >
50+ </ li >
51+ < li > Détail 1</ li >
52+ < li > Détail 2</ li >
53+ < li > Détail 3</ li >
54+ < li >
55+ < a
56+ target = "_blank"
57+ href = "[À MODIFIER | Lien vers la sources ou des infos complémentaires]"
58+ >
59+ Détail 4
60+ </ a >
61+ </ li >
62+ </ >
63+ ) ,
64+ image : "//www.systeme-de-design.gouv.fr/img/placeholder.1x1.png" ,
65+ size : "md" ,
66+ className : "fr-quote--green-emeraude"
3967} ) ;
4068
4169export const QuoteWithoutDetails = getStory ( {
4270 text : "Lorem [...] elit ut. " ,
4371 author : "Auteur" ,
44- image : "https: //www.systeme-de-design.gouv.fr/img/placeholder.1x1.png"
72+ image : "//www.systeme-de-design.gouv.fr/img/placeholder.1x1.png"
4573} ) ;
4674
4775export const QuoteWithoutSource = getStory ( {
4876 text : "Lorem [...] elit ut. " ,
49- image : "https: //www.systeme-de-design.gouv.fr/img/placeholder.1x1.png"
77+ image : "//www.systeme-de-design.gouv.fr/img/placeholder.1x1.png"
5078} ) ;
5179
5280export const QuoteWithoutIllustration = getStory ( {
@@ -71,3 +99,10 @@ export const QuoteWithoutIllustration = getStory({
7199 </ >
72100 )
73101} ) ;
102+
103+ export const QuoteWithAccent = getStory ( {
104+ text : "Lorem [...] elit ut. " ,
105+ image : "//www.systeme-de-design.gouv.fr/img/placeholder.1x1.png" ,
106+ className : "fr-quote--green-emeraude" ,
107+ author : "Someone"
108+ } ) ;
0 commit comments