chore: allow as in content and arrow props

This commit is contained in:
Benjamin Canac
2024-04-03 17:52:08 +02:00
parent 56da54b440
commit ea29cc238c
6 changed files with 10 additions and 10 deletions

View File

@@ -13,7 +13,7 @@ const slideover = tv({ extend: tv(theme), ...(appConfig.ui?.slideover || {}) })
export interface SlideoverProps extends DialogRootProps {
title?: string
description?: string
content?: Omit<DialogContentProps, 'as' | 'asChild' | 'forceMount'>
content?: Omit<DialogContentProps, 'asChild' | 'forceMount'>
overlay?: boolean
transition?: boolean
side?: 'left' | 'right' | 'top' | 'bottom'