feat: disbale validation feature, documentId,webhook,API token for free users and add upgrade button to subscribe

This commit is contained in:
RaktimaNXG
2024-03-29 17:06:09 +05:30
parent 46159b7214
commit 1932dda6d6
10 changed files with 232 additions and 51 deletions
+9 -2
View File
@@ -1,9 +1,16 @@
import React from "react";
import { Tooltip as ReactTooltip } from "react-tooltip";
import { openInNewTab } from "../constant/Utils";
const Tooltip = ({ id, message, url, iconColor }) =>
const Tooltip = ({ id, message, url, iconColor, isSubscribe }) =>
url ? (
<button onClick={() => openInNewTab(url)} className="text-center">
<button
onClick={() => openInNewTab(url)}
className={
isSubscribe
? "text-center"
: "text-center opacity-20 pointer-events-none"
}
>
<sup>
<i
className="fa-solid fa-question rounded-full"