mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-08 00:42:35 +02:00
14 lines
316 B
Vue
14 lines
316 B
Vue
<script setup lang="ts">
|
|
import { provide } from 'vue-demi';
|
|
import type { SVGAttributes } from 'vue-demi';
|
|
import providerKey from './providerKey';
|
|
interface Props {
|
|
iconProps: SVGAttributes;
|
|
}
|
|
const props = defineProps<Props>();
|
|
provide(providerKey, props.iconProps);
|
|
</script>
|
|
<template>
|
|
<slot />
|
|
</template>
|