mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-18 22:11:43 +01:00
chore(Avatar/Stepper): fix types for vue-tsc@2.2.0
This commit is contained in:
@@ -46,7 +46,7 @@ import UIcon from './Icon.vue'
|
||||
defineOptions({ inheritAttrs: false })
|
||||
|
||||
const props = withDefaults(defineProps<AvatarProps>(), { as: 'span' })
|
||||
const attrs = useAttrs()
|
||||
const attrs = useAttrs() as any
|
||||
|
||||
const fallbackProps = useForwardProps(reactivePick(props, 'delayMs'))
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@ defineExpose({
|
||||
|
||||
<div v-if="currentStep?.content || !!slots.content || (currentStep?.slot && !!slots[currentStep.slot]) || (currentStep?.value && !!slots[currentStep.value])" :class="ui.content({ class: props.ui?.description })">
|
||||
<slot
|
||||
:name="!!slots[currentStep?.slot ?? currentStep.value] ? currentStep.slot ?? currentStep.value : 'content'"
|
||||
:name="!!slots[currentStep?.slot ?? currentStep.value!] ? currentStep.slot ?? currentStep.value : 'content'"
|
||||
:item="currentStep"
|
||||
>
|
||||
{{ currentStep?.content }}
|
||||
|
||||
Reference in New Issue
Block a user