From 1c5e80e68a4e00d92ae1a72a041cf306d0eddd25 Mon Sep 17 00:00:00 2001 From: JanetEne Date: Thu, 14 Sep 2023 02:33:08 +0100 Subject: [PATCH] update file naming --- .../basic/popups/GlobPatternExamples.tsx | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 frontend/src/components/basic/popups/GlobPatternExamples.tsx diff --git a/frontend/src/components/basic/popups/GlobPatternExamples.tsx b/frontend/src/components/basic/popups/GlobPatternExamples.tsx new file mode 100644 index 000000000..7939804f0 --- /dev/null +++ b/frontend/src/components/basic/popups/GlobPatternExamples.tsx @@ -0,0 +1,46 @@ +import { useState } from "react"; +import { faInfo } from "@fortawesome/free-solid-svg-icons"; +import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; + +import { Tooltip } from "@app/components/v2/Tooltip"; + +const GlobPatternExamples = () => { + const [showTip, setShowTip] = useState(false); + + return ( + +

Here are some examples of glob patterns:

+
+
  • + / - Matches all files and directories in the + current directory +
  • +
  • + **/* - Matches all files and directories in the + current directory and its subdirectories +
  • +
  • + {"/{dir1,dir2}"} - Matches all files and + directories in dir1 and dir2 +
  • +
    + + } + position="right" + className="text-xs" + > +
    setShowTip(true)} + > + +
    +
    + ); +}; + +export default GlobPatternExamples;