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