diff --git a/packages/vuetify/src/components/VResponsive/VResponsive.tsx b/packages/vuetify/src/components/VResponsive/VResponsive.tsx index 25edf092a90..f23f011e8a9 100644 --- a/packages/vuetify/src/components/VResponsive/VResponsive.tsx +++ b/packages/vuetify/src/components/VResponsive/VResponsive.tsx @@ -28,7 +28,7 @@ export function useAspectStyles (props: { aspectRatio?: string | number }) { export const makeVResponsiveProps = propsFactory({ aspectRatio: [String, Number], - contentClass: String, + contentClass: null, inline: Boolean, ...makeComponentProps(), diff --git a/packages/vuetify/src/composables/component.ts b/packages/vuetify/src/composables/component.ts index e1d961c0ef4..c5d426d3882 100644 --- a/packages/vuetify/src/composables/component.ts +++ b/packages/vuetify/src/composables/component.ts @@ -7,13 +7,13 @@ import type { PropType, StyleValue } from 'vue' export type ClassValue = any export interface ComponentProps { - class?: ClassValue + class: ClassValue style: StyleValue | undefined } // Composables export const makeComponentProps = propsFactory({ - class: [String, Array] as PropType, + class: [String, Array, Object] as PropType, style: { type: [String, Array, Object] as PropType, default: null,