diff --git a/src/components/ACLDiv.res b/src/components/ACLDiv.res index 0606985cc..7be041859 100644 --- a/src/components/ACLDiv.res +++ b/src/components/ACLDiv.res @@ -11,6 +11,7 @@ let make = ( ~contentAlign=?, ~justifyClass=?, ~tooltipForWidthClass=?, + ~dataAttrStr=?, ) => { ()}}> - {children} - } + toolTipFor={Option.getOr("")->String.toLowerCase)]> +
()}}> + {children} +
+
} toolTipPosition={Top} /> } diff --git a/src/components/ACLDiv.resi b/src/components/ACLDiv.resi index 4e1088798..645bf6c8a 100644 --- a/src/components/ACLDiv.resi +++ b/src/components/ACLDiv.resi @@ -11,4 +11,5 @@ let make: ( ~contentAlign: ToolTip.contentPosition=?, ~justifyClass: string=?, ~tooltipForWidthClass: string=?, + ~dataAttrStr: string=?, ) => React.element diff --git a/src/screens/Processors/ProcessorCards.res b/src/screens/Processors/ProcessorCards.res index d811744f3..923127a39 100644 --- a/src/screens/Processors/ProcessorCards.res +++ b/src/screens/Processors/ProcessorCards.res @@ -108,30 +108,30 @@ let make = ( let connectorName = connector->getConnectorNameString let connectorInfo = connector->getConnectorInfo let size = "w-14 h-14 rounded-sm" - String.toLowerCase)]> - handleClick(connectorName)} - key={i->string_of_int} - className="border p-6 gap-4 bg-white rounded flex flex-col justify-between"> -
- String.toUpperCase} className=size /> -

- {connectorName->getDisplayNameForConnector->React.string} -

-
-

- {connectorInfo.description->React.string} + + handleClick(connectorName)} + key={i->string_of_int} + className="border p-6 gap-4 bg-white rounded flex flex-col justify-between" + dataAttrStr=connectorName> +

+ String.toUpperCase} className=size /> +

+ {connectorName->getDisplayNameForConnector->React.string}

- - - +
+

+ {connectorInfo.description->React.string} +

+ +
}) ->React.array}