Skip to content

Commit

Permalink
fix(VExpansionPanelTitle): add missing slot types
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Mar 1, 2023
1 parent b1ee9f1 commit 163ec60
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,17 @@ import { useBackgroundColor } from '@/composables/color'
import { computed, inject } from 'vue'
import { genericComponent, propsFactory, useRender } from '@/util'

interface ExpansionPanelTitleSlot {
collapseIcon: IconValue
disabled: boolean | undefined
expanded: boolean
expandIcon: IconValue
readonly: boolean
}

export type VExpansionPanelTitleSlots = {
default: []
actions: []
default: [ExpansionPanelTitleSlot]
actions: [ExpansionPanelTitleSlot]
}

export const makeVExpansionPanelTitleProps = propsFactory({
Expand Down

0 comments on commit 163ec60

Please sign in to comment.