mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-13 01:06:03 +00:00
* feat: combine bot settings and bot log dialogs * perf: dialog style when creating bot * perf: bot creation dialog * feat: combine pipeline dialogs * perf: ui * perf: move buttons * perf: ui layout in pipeline detail dialog * perf: remove debug button from pipeline card * perf: open pipeline dialog after creating * perf: placeholder in send input * perf: no close dialog when save done * fix: linter errors
29 lines
706 B
TypeScript
29 lines
706 B
TypeScript
'use client';
|
|
|
|
import * as React from 'react';
|
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
|
|
import { cn } from '@/lib/utils';
|
|
|
|
function Separator({
|
|
className,
|
|
orientation = 'horizontal',
|
|
decorative = true,
|
|
...props
|
|
}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {
|
|
return (
|
|
<SeparatorPrimitive.Root
|
|
data-slot="separator"
|
|
decorative={decorative}
|
|
orientation={orientation}
|
|
className={cn(
|
|
'bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px',
|
|
className,
|
|
)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export { Separator };
|