UNPKG

@cnamts/vue-dot

Version:

Implementation of our Design System for the French Health Insurance

14 lines (11 loc) 269 B
import Vue from 'vue'; import Component from 'vue-class-component'; @Component export class GetThemeIcon extends Vue { getThemeIcon(iconName: string): string | undefined { if (!this.$vd?.theme?.icons) { return; } return this.$vd.theme.icons[iconName]; } }