<template>
  <pkt-icon :name="name" v-bind="path && { path }"></pkt-icon>
</template>

<script>
import '@oslokommune/punkt-elements/dist/pkt-icon'
export default {
  name: 'PktIcon',
  props: {
    name: {
      type: String,
      required: true,
      default: undefined,
    },
    path: {
      type: String,
      default: undefined,
    },
  },
}
</script>
