+ {children}
+
+ + {children} ++ ); +} +Code.Comment = CodeComment; + +function CodeLine({ children }: Props) { + return
{children}; +} + +Code.Line = CodeLine; diff --git a/src/components/Command.tsx b/src/components/Command.tsx new file mode 100644 index 00000000..2f544c5c --- /dev/null +++ b/src/components/Command.tsx @@ -0,0 +1,155 @@ +"use client"; + +import { Dialog, DialogContent } from "@components/Dialog"; +import { DialogProps } from "@radix-ui/react-dialog"; +import { cn } from "@utils/helpers"; +import { Command as CommandPrimitive } from "cmdk"; +import { Search } from "lucide-react"; +import * as React from "react"; + +const Command = React.forwardRef< + React.ElementRef
+ {children} +
+ ); +} diff --git a/src/components/InlineLink.tsx b/src/components/InlineLink.tsx new file mode 100644 index 00000000..08fcf2e0 --- /dev/null +++ b/src/components/InlineLink.tsx @@ -0,0 +1,36 @@ +import { cn } from "@utils/helpers"; +import { cva, VariantProps } from "class-variance-authority"; +import Link, { LinkProps } from "next/link"; +import React from "react"; + +export type InlineLinkProps = VariantProps+ Upload your service account key (.json) +
++ + Click to upload + {" "} + or drag and drop your file here +
+