import React from "react"; import { Menu, Flex } from "@mantine/core"; import { CgChevronDown } from "react-icons/cg"; import { SiJsonwebtokens } from "react-icons/si"; import { VscSearchFuzzy, VscJson, VscGroupByRefType } from "react-icons/vsc"; import useModal from "src/store/useModal"; import * as Styles from "./styles"; export const ToolsMenu = () => { const setVisible = useModal(state => state.setVisible); return ( Tools } onClick={() => setVisible("jq")(true)}> JSON Query (jq) } onClick={() => setVisible("schema")(true)}> JSON Schema } onClick={() => setVisible("jwt")(true)} > Decode JWT } onClick={() => setVisible("type")(true)} > Generate Type ); };