File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,13 @@ Default.args = {
3030 title : 'Services category title across one or two lines' ,
3131 links : [
3232 { url : '#' , title : 'Link 1' } ,
33- { url : '#' , title : 'Link 2' } ,
33+ {
34+ url : '#' ,
35+ title : 'Link 2' ,
36+ external : true ,
37+ target : '_blank' ,
38+ icon : 'upper-right-arrow'
39+ } ,
3440 { url : '#' , title : 'Link 3' } ,
3541 { url : '#' , title : 'Link 4' } ,
3642 { url : '#' , title : 'Link 5' } ,
Original file line number Diff line number Diff line change 2121 <!-- Slot: Default -->
2222 <CTItemList class =" ct-service-card__links" :items =" links" >
2323 <template #default =" { item } " >
24- <CTLink :link =" item.url" :text =" item.title" :theme =" theme" />
24+ <CTLink
25+ :external =" item.external"
26+ :icon =" item.icon"
27+ :link =" item.url"
28+ :target =" item.target"
29+ :text =" item.title"
30+ :theme =" theme"
31+ />
2532 </template >
2633 </CTItemList >
2734
You can’t perform that action at this time.
0 commit comments