Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

feat: add secure info

AykutSaracd521a02201e6
diff --git a/src/features/editor/views/GraphView/SecureInfo.tsx b/src/features/editor/views/GraphView/SecureInfo.tsx
new file mode 100644
index 00000000..85289e3d
--- /dev/null
+++ b/src/features/editor/views/GraphView/SecureInfo.tsx
@@ -0,0 +1,31 @@
+import React from "react";
+import { ThemeIcon, Tooltip } from "@mantine/core";
+import { LuShieldCheck } from "react-icons/lu";
+
+export const SecureInfo = () => {
+ return (
+ <Tooltip
+ label="Your data is processed locally on your device."
+ fz="xs"
+ ta="center"
+ maw="200"
+ multiline
+ withArrow
+ >
+ <ThemeIcon
+ variant="light"
+ color="teal"
+ size="36"
+ style={{
+ position: "absolute",
+ bottom: "10px",
+ right: "10px",
+ zIndex: 100,
+ }}
+ radius="xl"
+ >
+ <LuShieldCheck size="22" />
+ </ThemeIcon>
+ </Tooltip>
+ );
+};