mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
chore: allow as in content and arrow props
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user