-
- {transformedIconOrNumber}
+ {/** biome-ignore lint/a11y/noNoninteractiveElementInteractions: TODO */}
+ {/** biome-ignore lint/a11y/noStaticElementInteractions: TODO */}
+
toggleAnchor(true)}
+ onMouseLeave={() => toggleAnchor(false)}
+ >
+
+ {transformedIconOrNumber}
+
+ {isAnchorEnabled && !noAnchor && id && (
+
+ )}
@@ -96,22 +212,35 @@ const StepsItem = ({
"prose dark:prose-invert font-semibold"
)}
{...titleProps}
+ {...interactionProps}
>
{title}
),
h2: (
-
+
{title}
),
h3: (
-
+
{title}
),
h4: (
-
+
{title}
),