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,8 +13,8 @@ const tooltip = tv({ extend: tv(theme), ...(appConfig.ui?.tooltip || {}) })
export interface TooltipProps extends TooltipRootProps {
text?: string
shortcuts?: string[] | KbdProps[]
content?: Omit<TooltipContentProps, 'as' | 'asChild'>
arrow?: boolean | Omit<TooltipArrowProps, 'as' | 'asChild'>
content?: Omit<TooltipContentProps, 'asChild'>
arrow?: boolean | Omit<TooltipArrowProps, 'asChild'>
portal?: boolean
class?: any
ui?: Partial<typeof tooltip.slots>