Skip to content

Commit 719a64a

Browse files
committed
fix(VExpansionPanels): specify inherited props
closes #20109
1 parent f32ff10 commit 719a64a

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

packages/vuetify/src/components/VExpansionPanel/VExpansionPanels.tsx

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ import { VExpansionPanelSymbol } from './shared'
66
import { makeVExpansionPanelProps } from './VExpansionPanel'
77

88
// Composables
9+
import { makeComponentProps } from '@/composables/component'
910
import { provideDefaults } from '@/composables/defaults'
1011
import { makeGroupProps, useGroup } from '@/composables/group'
12+
import { makeTagProps } from '@/composables/tag'
1113
import { makeThemeProps, provideTheme } from '@/composables/theme'
1214

1315
// Utilities
1416
import { computed, toRef } from 'vue'
15-
import { genericComponent, propsFactory, useRender } from '@/util'
17+
import { genericComponent, pick, propsFactory, useRender } from '@/util'
1618

1719
// Types
1820
import type { PropType } from 'vue'
@@ -34,8 +36,24 @@ export const makeVExpansionPanelsProps = propsFactory({
3436
flat: Boolean,
3537

3638
...makeGroupProps(),
37-
...makeVExpansionPanelProps(),
39+
...pick(makeVExpansionPanelProps(), [
40+
'bgColor',
41+
'collapseIcon',
42+
'color',
43+
'eager',
44+
'elevation',
45+
'expandIcon',
46+
'focusable',
47+
'hideActions',
48+
'readonly',
49+
'ripple',
50+
'rounded',
51+
'tile',
52+
'static',
53+
]),
3854
...makeThemeProps(),
55+
...makeComponentProps(),
56+
...makeTagProps(),
3957

4058
variant: {
4159
type: String as PropType<Variant>,

0 commit comments

Comments
 (0)