1
0

fix: missing required prop BackgroundColor

This commit is contained in:
kolaente 2024-06-17 15:34:33 +02:00
parent 341b8d2045
commit 47143af9d1
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

@ -41,10 +41,11 @@ const props = withDefaults(defineProps<{
initialHeight?: number
/** The hidden content is indicated by a gradient. This is the color that the gradient fades to.
* Makes only sense if `initialHeight` is set. */
backgroundColor: string
backgroundColor?: string
}>(), {
open: false,
initialHeight: undefined,
backgroundColor: undefined,
})
const wrapper = ref<HTMLElement | null>(null)