From 25854afd0014c2a9e66179f851438d78eb63805e Mon Sep 17 00:00:00 2001 From: srikant Date: Mon, 20 Jan 2025 13:46:01 +0530 Subject: [PATCH] Replace button with a link in title editor description Signed-off-by: srikant --- .../components/title-editor/title-editor.jsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/canvas_modules/common-canvas/src/common-properties/components/title-editor/title-editor.jsx b/canvas_modules/common-canvas/src/common-properties/components/title-editor/title-editor.jsx index 59469bedb..61f16c269 100644 --- a/canvas_modules/common-canvas/src/common-properties/components/title-editor/title-editor.jsx +++ b/canvas_modules/common-canvas/src/common-properties/components/title-editor/title-editor.jsx @@ -21,7 +21,7 @@ import Isvg from "react-inlinesvg"; import { get } from "lodash"; import classNames from "classnames"; import { Help, Edit, Close, Information } from "@carbon/react/icons"; -import { TextInput, Button, Layer } from "@carbon/react"; +import { TextInput, Button, Layer, Link } from "@carbon/react"; import { Toggletip, ToggletipButton, ToggletipContent, ToggletipActions } from "@carbon/react"; import { setTitle } from "./../../actions"; @@ -142,14 +142,13 @@ class TitleEditor extends Component { // If description is present and has a link, show help button const tooltipButton = isDescWithLink ? ( - + ) : null;