MCPcopy Create free account
hub / github.com/bytebase/dbhub / ToolbarButton

Function ToolbarButton

frontend/src/components/ui/toolbar.tsx:20–28  ·  view source on GitHub ↗
({ className, ...props }: ToolbarPrimitive.Button.Props)

Source from the content-addressed store, hash-verified

18}
19
20function ToolbarButton({ className, ...props }: ToolbarPrimitive.Button.Props) {
21 return (
22 <ToolbarPrimitive.Button
23 className={cn(className)}
24 data-slot="toolbar-button"
25 {...props}
26 />
27 );
28}
29
30function ToolbarLink({ className, ...props }: ToolbarPrimitive.Link.Props) {
31 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected