Skip to content

Commit

Permalink
External Link: Make icon configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
dmstern committed Nov 26, 2018
1 parent 223e905 commit 2849329
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ExternalLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
target="_blank"
:title="title"
>
<v-icon>{{$vuetify.icons.arrowTopRight}}</v-icon>
<v-icon>{{icon || $vuetify.icons.arrowTopRight}}</v-icon>
{{text || href}}
</a>
</template>
Expand All @@ -19,6 +19,7 @@ export default class ExternalLink extends Vue {
@Prop() private title?: string;
@Prop() private href!: string;
@Prop() private text?: string;
@Prop() private icon?: string;
}
</script>

Expand Down

0 comments on commit 2849329

Please sign in to comment.