diff --git a/packages/vuetify/src/components/VExpansionPanel/VExpansionPanelTitle.tsx b/packages/vuetify/src/components/VExpansionPanel/VExpansionPanelTitle.tsx index 54cc401592c..98df96d9050 100644 --- a/packages/vuetify/src/components/VExpansionPanel/VExpansionPanelTitle.tsx +++ b/packages/vuetify/src/components/VExpansionPanel/VExpansionPanelTitle.tsx @@ -1,5 +1,6 @@ // Components import { VExpansionPanelSymbol } from './shared' +import { VDefaultsProvider } from '@/components/VDefaultsProvider' import { VIcon } from '@/components/VIcon' // Composables @@ -75,6 +76,8 @@ export const VExpansionPanelTitle = genericComponent( readonly: props.readonly, })) + const icon = computed(() => expansionPanel.isSelected.value ? props.collapseIcon : props.expandIcon) + useRender(() => ( ))