File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
apps/webapp/app/components/primitives Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { cn } from "~/utils/cn";
66const variantClasses = {
77 basic :
88 "bg-background-bright border border-grid-bright rounded px-3 py-2 text-sm text-text-bright shadow-md fade-in-50" ,
9- dark : "bg-background-dimmed border border-grid-bright rounded px-3 py-2 text-sm text-text-bright shadow-md fade-in-50"
9+ dark : "bg-background-dimmed border border-grid-bright rounded px-3 py-2 text-sm text-text-bright shadow-md fade-in-50" ,
1010} ;
1111
1212type Variant = keyof typeof variantClasses ;
@@ -111,11 +111,13 @@ export function InfoIconTooltip({
111111 buttonClassName,
112112 contentClassName,
113113 variant = "basic" ,
114+ disableHoverableContent = false ,
114115} : {
115116 content : React . ReactNode ;
116117 buttonClassName ?: string ;
117118 contentClassName ?: string ;
118119 variant ?: Variant ;
120+ disableHoverableContent ?: boolean ;
119121} ) {
120122 return (
121123 < SimpleTooltip
@@ -125,6 +127,7 @@ export function InfoIconTooltip({
125127 content = { content }
126128 variant = { variant }
127129 className = { contentClassName }
130+ disableHoverableContent = { disableHoverableContent }
128131 />
129132 ) ;
130133}
You can’t perform that action at this time.
0 commit comments