Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / packages/design-system/components/shadcn/separator.tsx |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | packages/design-system/components/shadcn/separator.tsx |
| Original SHA-256 | 5ce25d200f9b5957ec932c97a13f3be1e94a343a920fadbf33db8985f370da1f |
| Git blob SHA | 57411b8e8d8392bab86bdb8d9779a59f0c556a69 |
| Reading-copy SHA-256 | 5ce25d200f9b5957ec932c97a13f3be1e94a343a920fadbf33db8985f370da1f |
Recovered source transcript
Download complete source text ↓29 lines · 0.7 KB
'use client'
import * as SeparatorPrimitive from '@radix-ui/react-separator'
import * as React from 'react'
import { cn } from '../../lib/utils'
function Separator({
className,
orientation = 'horizontal',
decorative = true,
...props
}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {
return (
<SeparatorPrimitive.Root
data-slot="separator-root"
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 }