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 952a0b699..96df21ac1 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 @@ -20,13 +20,16 @@ import { connect } from "react-redux"; import Isvg from "react-inlinesvg"; import { get } from "lodash"; import classNames from "classnames"; -import { Help, Edit, Close } from "@carbon/react/icons"; +import { Edit, Close } from "@carbon/react/icons"; import { TextInput, Button, Layer } from "@carbon/react"; import { setTitle } from "./../../actions"; import { MESSAGE_KEYS, CONDITION_MESSAGE_TYPE } from "./../../constants/constants"; import * as PropertyUtils from "./../../util/property-utils"; import ActionFactory from "../../actions/action-factory.js"; +import Tooltip from "../../../tooltip/tooltip.jsx"; +import Icon from "../../../icons/icon.jsx"; +import { CARBON_ICONS } from "./../../constants/constants"; class TitleEditor extends Component { @@ -66,6 +69,7 @@ class TitleEditor extends Component { this.props.help.data, this.props.controller.getAppData()); } + return { url: "https://www.google.com/", label: "Help" }; } textInputOnFocus() { this.setState({ focused: true }); @@ -136,19 +140,29 @@ class TitleEditor extends Component { iconDescription={propertiesTitleEditButtonLabel} hasIconOnly />); - + const obj = { + "id": "link_for_number", + "data": { + "something": "option data" + }, + "propertyId": { + "name": "number" + } + }; const helpButton = this.props.help - ? (