Function
ToolbarSeparator
({
className,
...props
}: ToolbarPrimitive.Separator.Props)
Source from the content-addressed store, hash-verified
| 58 | } |
| 59 | |
| 60 | function ToolbarSeparator({ |
| 61 | className, |
| 62 | ...props |
| 63 | }: ToolbarPrimitive.Separator.Props) { |
| 64 | return ( |
| 65 | <ToolbarPrimitive.Separator |
| 66 | className={cn( |
| 67 | "shrink-0 bg-border data-[orientation=horizontal]:my-0.5 data-[orientation=vertical]:my-1.5 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:not-[[class^='h-']]:not-[[class*='_h-']]:self-stretch", |
| 68 | className, |
| 69 | )} |
| 70 | data-slot="toolbar-separator" |
| 71 | {...props} |
| 72 | /> |
| 73 | ); |
| 74 | } |
| 75 | |
| 76 | export { |
| 77 | Toolbar, |
Callers
nothing calls this directly
Tested by
no test coverage detected