🎨 Simplify props definition formatting in ProfessorPokeball component
This commit is contained in:
@@ -19,18 +19,15 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
const props = withDefaults(
|
const props = withDefaults(defineProps<{
|
||||||
defineProps<{
|
|
||||||
size?: string;
|
size?: string;
|
||||||
color?: string;
|
color?: string;
|
||||||
animate?: boolean;
|
animate?: boolean;
|
||||||
}>(),
|
}>(), {
|
||||||
{
|
|
||||||
size: '100px',
|
size: '100px',
|
||||||
color: '#ebebeb',
|
color: '#ebebeb',
|
||||||
animate: false
|
animate: false
|
||||||
}
|
});
|
||||||
);
|
|
||||||
|
|
||||||
defineOptions({
|
defineOptions({
|
||||||
inheritAttrs: false
|
inheritAttrs: false
|
||||||
|
|||||||
Reference in New Issue
Block a user