non ai theme

This commit is contained in:
mats committed 2026-09-12 18:41:42 +02:00
1 parent 9d444cc0ec
commit 61df5e3dcc
28 files changed
+3347 -448

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import type { ReactNode } from 'react'
import { cn } from '../../utils/cn'
type TooltipProps = {
content: ReactNode
children: ReactNode
className?: string
}
export function Tooltip({ content, children, className }: TooltipProps) {
return (
<span className={cn('tooltip-wrapper', className)} tabIndex={0}>
{children}
<span className="tooltip-box" role="tooltip">
{content}
</span>
</span>
)
}