🎨 Refactor props definition and add inheritAttrs option in ProfessorPokeball component

This commit is contained in:
2026-01-28 05:03:52 +00:00
parent fd45934b2a
commit 75093f1daa

View File

@@ -19,12 +19,21 @@
</template>
<script setup>
import { defineProps, withDefaults } from 'vue';
const props = withDefaults(defineProps(), {
const props = withDefaults(
defineProps<{
size?: string;
color?: string;
animate?: boolean;
}>(),
{
size: '100px',
color: '#ebebeb',
animate: false
}
);
defineOptions({
inheritAttrs: false
});
</script>