summaryrefslogtreecommitdiff
path: root/apps/web
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web')
-rw-r--r--apps/web/src/components/ui/draggable-item.tsx11
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/web/src/components/ui/draggable-item.tsx b/apps/web/src/components/ui/draggable-item.tsx
index c1f81e16..6e1e4990 100644
--- a/apps/web/src/components/ui/draggable-item.tsx
+++ b/apps/web/src/components/ui/draggable-item.tsx
@@ -149,7 +149,15 @@ export function DraggableMediaItem({
);
}
-function PlusButton({ className, onClick }: { className?: string; onClick?: () => void }) {
+function PlusButton({
+ className,
+ onClick,
+ tooltipText,
+}: {
+ className?: string;
+ onClick?: () => void;
+ tooltipText?: string;
+}) {
return (
<Button
size="icon"
@@ -159,6 +167,7 @@ function PlusButton({ className, onClick }: { className?: string; onClick?: () =
e.stopPropagation();
onClick?.();
}}
+ title={tooltipText}
>
<Plus className="!size-3" />
</Button>