@@ -377,10 +377,9 @@ Pass `href` to render as an `<a>` element. Use `target="_blank"` and `rel="noope
377377 kind="muted"
378378 importance="outlined"
379379 size="sm"
380- icon-position="right"
381380 ref="hrefExample1"
382381 >
383- <template #icon ="{ iconSize }">
382+ <template #endIcon ="{ iconSize }">
384383 <dt-icon name="external-link" :size="iconSize" />
385384 </template>
386385 Dialtone
@@ -397,9 +396,8 @@ vueCode='
397396 kind="muted"
398397 importance="outlined"
399398 size="sm"
400- icon-position="right"
401399>
402- <template #icon ="{ iconSize }">
400+ <template #endIcon ="{ iconSize }">
403401 <dt-icon name="external-link" :size="iconSize" />
404402 </template>
405403 Dialtone
@@ -483,31 +481,81 @@ The default button size is `md`, but does not need to be explicitly specified.
483481 ref="sizesExample"
484482 >
485483 <span>
486- <dt-button size="xs"> Place Call </dt-button >
484+ <dt-button size="xs" kind="muted" importance="outlined">
485+ Call
486+ <template #startIcon="{ iconSize }">
487+ <dt-icon name="phone" :size="iconSize" />
488+ </template>
489+ </dt-button>
487490 </span>
488491 <span>
489- <dt-button size="sm"> Place Call </dt-button >
492+ <dt-button size="sm" kind="muted" importance="outlined">
493+ Call
494+ <template #startIcon="{ iconSize }">
495+ <dt-icon name="phone" :size="iconSize" />
496+ </template>
497+ </dt-button>
490498 </span>
491499 <span>
492- <dt-button> Place Call </dt-button >
500+ <dt-button kind="muted" importance="outlined">
501+ Call
502+ <template #startIcon="{ iconSize }">
503+ <dt-icon name="phone" :size="iconSize" />
504+ </template>
505+ </dt-button>
493506 </span>
494507 <span>
495- <dt-button size="lg"> Place Call </dt-button >
508+ <dt-button size="lg" kind="muted" importance="outlined">
509+ Call
510+ <template #startIcon="{ iconSize }">
511+ <dt-icon name="phone" :size="iconSize" />
512+ </template>
513+ </dt-button>
496514 </span>
497515 <span>
498- <dt-button size="xl"> Place Call </dt-button >
516+ <dt-button size="xl" kind="muted" importance="outlined">
517+ Call
518+ <template #startIcon="{ iconSize }">
519+ <dt-icon name="phone" :size="iconSize" />
520+ </template>
521+ </dt-button>
499522 </span>
500523 </dt-stack >
501524</code-well-header >
502525
503526<code-example-tabs
504527: htmlCode ='() => $refs.sizesExample'
505528vueCode='
506- <dt-button size =" xs " > Place Call </dt-button >
507- <dt-button size =" sm " > Place Call </dt-button >
508- <dt-button > Place Call </dt-button >
509- <dt-button size =" lg " > Place Call </dt-button >
510- <dt-button size =" xl " > Place Call </dt-button >
529+ <dt-button size =" xs " >
530+ Place Call
531+ <template #startIcon="{ iconSize }">
532+ <dt-icon name =" phone " :size =" iconSize " />
533+ </template >
534+ </dt-button >
535+ <dt-button size =" sm " >
536+ Place Call
537+ <template #startIcon="{ iconSize }">
538+ <dt-icon name =" phone " :size =" iconSize " />
539+ </template >
540+ </dt-button >
541+ <dt-button >
542+ Place Call
543+ <template #startIcon="{ iconSize }">
544+ <dt-icon name =" phone " :size =" iconSize " />
545+ </template >
546+ </dt-button >
547+ <dt-button size =" lg " >
548+ Place Call
549+ <template #startIcon="{ iconSize }">
550+ <dt-icon name =" phone " :size =" iconSize " />
551+ </template >
552+ </dt-button >
553+ <dt-button size =" xl " >
554+ Place Call
555+ <template #startIcon="{ iconSize }">
556+ <dt-icon name =" phone " :size =" iconSize " />
557+ </template >
558+ </dt-button >
511559'
512560showHtmlWarning />
513561
@@ -1201,7 +1249,7 @@ showHtmlWarning />
12011249<code-well-header >
12021250 <dt-button size =" sm " kind =" muted " importance =" outlined " trailing-class =" d-pr2 " ref =" trailingExample " >
12031251 Copy
1204- <template #icon ="{ iconSize }">
1252+ <template #startIcon ="{ iconSize }">
12051253 <dt-icon name="copy" :size="iconSize" />
12061254 </template>
12071255 <template #trailing>
@@ -1215,7 +1263,7 @@ showHtmlWarning />
12151263vueCode='
12161264<dt-button size =" sm " kind =" muted " importance =" outlined " trailing-class =" d-pr2 " >
12171265 Copy
1218- <template #icon ="{ iconSize }">
1266+ <template #startIcon ="{ iconSize }">
12191267 <dt-icon name =" copy " :size =" iconSize " />
12201268 </template >
12211269 <template #trailing>
0 commit comments