返回 presentation-ai
fixed-toolbar.tsx
根目录 / src / components / plate / ui / fixed-toolbar.tsx
1 "use client";
2
3 import { cn } from "@/lib/utils";
4 import { Toolbar } from "./toolbar";
5
6 export function FixedToolbar(props: React.ComponentProps<typeof Toolbar>) {
7 return (
8 <Toolbar
9 {...props}
10 className={cn(
11 "fixed-toolbar sticky top-0 left-0 z-50 scrollbar-hide flex w-full items-center justify-between overflow-x-auto border-b border-border bg-background/95 px-2 py-0.5 backdrop-blur-xs supports-backdrop-blur:bg-background/60",
12 props.className,
13 )}
14 />
15 );
16 }
17
17 lines Plain Text