@@ -27,58 +27,61 @@ export default {
2727export const Default = ( args ) => (
2828 < Pattern
2929 template = "v3/includes/_stats_in_numbers.html"
30- context = { {
31- heading : "Commits per release" ,
32- description : "Commit count by Boost release for this library." ,
33- bars : sampleBars ,
34- theme : args . theme ,
35- primary_cta_label : "View library" ,
36- primary_cta_url : "#" ,
37- } }
30+ context = { args }
3831 />
3932) ;
40- Default . args = { theme : "default" } ;
33+ Default . args = {
34+ heading : "Commits per release" ,
35+ description : "Commit count by Boost release for this library." ,
36+ theme : "default" ,
37+ primary_cta_label : "View library" ,
38+ primary_cta_url : "#" ,
39+ bars : sampleBars
40+ } ;
4141
42- export const Yellow = ( ) => (
42+ export const Yellow = ( args ) => (
4343 < Pattern
4444 template = "v3/includes/_stats_in_numbers.html"
45- context = { {
46- heading : "Commits per release" ,
47- description : "Commit count by Boost release for this library." ,
48- bars : sampleBars ,
49- theme : "yellow" ,
50- primary_cta_label : "View library" ,
51- primary_cta_url : "#" ,
52- } }
45+ context = { args }
5346 />
5447) ;
48+ Yellow . args = {
49+ heading : "Commits per release" ,
50+ description : "Commit count by Boost release for this library." ,
51+ theme : "yellow" ,
52+ primary_cta_label : "View library" ,
53+ primary_cta_url : "#" ,
54+ bars : sampleBars
55+ } ;
5556
56- export const Green = ( ) => (
57+ export const Green = ( args ) => (
5758 < Pattern
5859 template = "v3/includes/_stats_in_numbers.html"
59- context = { {
60- heading : "Commits per release" ,
61- description : "Commit count by Boost release for this library." ,
62- bars : sampleBars ,
63- theme : "green" ,
64- primary_cta_label : "View library" ,
65- primary_cta_url : "#" ,
66- secondary_cta_label : "View all libraries" ,
67- secondary_cta_url : "#" ,
68- } }
60+ context = { args }
6961 />
7062) ;
63+ Green . args = {
64+ heading : "Commits per release" ,
65+ description : "Commit count by Boost release for this library." ,
66+ theme : "green" ,
67+ primary_cta_label : "View library" ,
68+ primary_cta_url : "#" ,
69+ secondary_cta_label : "View all libraries" ,
70+ secondary_cta_url : "#" ,
71+ bars : sampleBars
72+ } ;
7173
72- export const Teal = ( ) => (
74+ export const Teal = ( args ) => (
7375 < Pattern
7476 template = "v3/includes/_stats_in_numbers.html"
75- context = { {
76- heading : "Commits per release" ,
77- description : "Commit count by Boost release for this library." ,
78- bars : sampleBars ,
79- theme : "teal" ,
80- primary_cta_label : "View library" ,
81- primary_cta_url : "#" ,
82- } }
77+ context = { args }
8378 />
8479) ;
80+ Teal . args = {
81+ heading : "Commits per release" ,
82+ description : "Commit count by Boost release for this library." ,
83+ theme : "teal" ,
84+ primary_cta_label : "View library" ,
85+ primary_cta_url : "#" ,
86+ bars : sampleBars
87+ } ;
0 commit comments