mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-13 13:48:26 +00:00
22 lines
367 B
Vue
22 lines
367 B
Vue
<script setup lang="ts">
|
|||
|
|
import { setLucideProps } from '../src/context';
|
||
|
|
import { House } from '../src/lucide-vue';
|
||
|
|
|
||
|
|
const props = defineProps<{
|
||
|
|
size?: number;
|
||
|
|
color?: string;
|
||
|
|
strokeWidth?: number;
|
||
|
|
}>();
|
||
|
|
|
||
|
|
setLucideProps({
|
||
|
|
size: 48,
|
||
|
|
color: 'red',
|
||
|
|
strokeWidth: 4,
|
||
|
|
class: 'provider-class',
|
||
|
|
});
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<template>
|
||
|
|
<House v-bind="props" />
|
||
|
|
</template>
|