MCPcopy Create free account
hub / github.com/arctic-cli/interface / Toolbar

Function Toolbar

packages/web/components/ui/toolbar.tsx:7–18  ·  view source on GitHub ↗
({ className, ...props }: ToolbarPrimitive.Root.Props)

Source from the content-addressed store, hash-verified

5import { cn } from "@/lib/utils";
6
7function Toolbar({ className, ...props }: ToolbarPrimitive.Root.Props) {
8 return (
9 <ToolbarPrimitive.Root
10 className={cn(
11 "relative flex gap-2 rounded-xl border bg-card bg-clip-padding p-1 text-card-foreground",
12 className,
13 )}
14 data-slot="toolbar"
15 {...props}
16 />
17 );
18}
19
20function ToolbarButton({ className, ...props }: ToolbarPrimitive.Button.Props) {
21 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected