Skip to content

Commit

Permalink
fix(VExpansionPanels): specify inherited props
Browse files Browse the repository at this point in the history
closes #20109
  • Loading branch information
KaelWD committed Jul 8, 2024
1 parent f32ff10 commit 719a64a
Showing 1 changed file with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ import { VExpansionPanelSymbol } from './shared'
import { makeVExpansionPanelProps } from './VExpansionPanel'

// Composables
import { makeComponentProps } from '@/composables/component'
import { provideDefaults } from '@/composables/defaults'
import { makeGroupProps, useGroup } from '@/composables/group'
import { makeTagProps } from '@/composables/tag'
import { makeThemeProps, provideTheme } from '@/composables/theme'

// Utilities
import { computed, toRef } from 'vue'
import { genericComponent, propsFactory, useRender } from '@/util'
import { genericComponent, pick, propsFactory, useRender } from '@/util'

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

...makeGroupProps(),
...makeVExpansionPanelProps(),
...pick(makeVExpansionPanelProps(), [
'bgColor',
'collapseIcon',
'color',
'eager',
'elevation',
'expandIcon',
'focusable',
'hideActions',
'readonly',
'ripple',
'rounded',
'tile',
'static',
]),
...makeThemeProps(),
...makeComponentProps(),
...makeTagProps(),

variant: {
type: String as PropType<Variant>,
Expand Down

0 comments on commit 719a64a

Please sign in to comment.