chore: ignore as from radix props fields

This commit is contained in:
Benjamin Canac
2024-06-28 11:48:38 +02:00
parent f85eb8ed40
commit a0559d4163
15 changed files with 24 additions and 24 deletions

View File

@@ -19,12 +19,12 @@ export interface TooltipProps extends TooltipRootProps {
* The content of the tooltip.
* @defaultValue `{ side: 'bottom', sideOffset: 8 }`
*/
content?: Omit<TooltipContentProps, 'asChild'>
content?: Omit<TooltipContentProps, 'as' | 'asChild'>
/**
* Display an arrow alongside the tooltip.
* @defaultValue `false`
*/
arrow?: boolean | Omit<TooltipArrowProps, 'asChild'>
arrow?: boolean | Omit<TooltipArrowProps, 'as' | 'asChild'>
/**
* Render the tooltip in a portal.
* @defaultValue `true`