feat: make title as optional

This commit is contained in:
Li Xin 2025-04-20 22:29:47 +08:00
parent 8008d50c0c
commit a256d3142e

View File

@ -14,7 +14,7 @@ export function Tooltip({
}: {
className?: string;
children: React.ReactNode;
title: React.ReactNode;
title?: React.ReactNode;
}) {
return (
<ShadcnTooltip>