This commit is contained in:
F4ilji
2026-04-07 17:54:26 +05:00
parent 04adba6682
commit 936b1fb5b0
468 changed files with 43498 additions and 4176 deletions
@@ -24,8 +24,8 @@ export default defineComponent({
},
},
setup(props) {
const rawName = props.name.replace(/^heroicon-(o|c|s|m)-/, '');
const symbolId = computed(() => `#${props.prefix}-${rawName}`)
const rawName = props.name ? props.name.replace(/^heroicon-(o|c|s|m)-/, '') : '';
const symbolId = computed(() => props.name ? `#${props.prefix}-${rawName}` : '')
return { symbolId }
},
// computed: {