Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lloydjatkinson/fc9686e7a75d15c05ec74e324c6c9481 to your computer and use it in GitHub Desktop.
Save lloydjatkinson/fc9686e7a75d15c05ec74e324c6c9481 to your computer and use it in GitHub Desktop.
<template>
<span class="fa-icon" :class="icon"></span>
</template>
<script>
import { defineComponent } from 'vue';
export default defineComponent({
name: 'BreadcrumbIcon',
props: {
type: {
type: String,
required: true,
default: '',
}
},
computed: {
icon () {
// map here
// return
}
},
})
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment