@camunda/camunda-composite-components 0.3.1-rc.8 → 0.3.1-rc.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,7 @@ import { useC3HelpCenter } from "./c3-help-center-provider";
|
|
|
4
4
|
export const HelpCenterHint = ({ children }) => {
|
|
5
5
|
const { showHint, setShowHint, hintType } = useC3HelpCenter();
|
|
6
6
|
console.log("showHint", showHint);
|
|
7
|
-
return
|
|
7
|
+
return showHint ? (React.createElement(Toggletip, { defaultOpen: true,
|
|
8
8
|
// eslint-disable-next-line
|
|
9
9
|
// @ts-ignore
|
|
10
10
|
align: "bottom-right" },
|
|
@@ -14,5 +14,5 @@ export const HelpCenterHint = ({ children }) => {
|
|
|
14
14
|
? "Access the help center at any time to see your recommendations, discover guides, tutorials, or to share feedback."
|
|
15
15
|
: "Access the onboarding survey to get personalized next steps and educational content"),
|
|
16
16
|
React.createElement(ToggletipActions, null,
|
|
17
|
-
React.createElement(Button, { size: "sm", onClick: () => setShowHint(false) }, "Got it"))))));
|
|
17
|
+
React.createElement(Button, { size: "sm", onClick: () => setShowHint(false) }, "Got it"))))) : (children);
|
|
18
18
|
};
|