| 1 | "use client"; |
| 2 | |
| 3 | import * as React from |
| 4 | import { cn } |
| 5 | import { Separator as |
| 6 | |
| 7 | function Separator({ |
| 8 | className, |
| 9 | orientation = "horizontal" |
| 10 | decorative = true, |
| 11 | ...props |
| 12 | }: React. |
| 13 | return ( |
| 14 | <SeparatorPrimitive.Root |
| 15 | data-slot="separator" |
| 16 | decorative={decorative} |
| 17 | orientation={orientation} |
| 18 | className={cn( |
| 19 | "shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch", |
| 20 | className, |
| 21 | )} |
| 22 | {...props} |
| 23 | /> |
| 24 | ); |
| 25 | } |
| 26 | |
| 27 | export { Separator }; |