MCPcopy Create free account
hub / github.com/arctic-cli/interface / GroupSeparator

Function GroupSeparator

packages/web/components/ui/group.tsx:68–85  ·  view source on GitHub ↗
({
  className,
  orientation = "vertical",
  ...props
}: {
  className?: string;
} & React.ComponentProps<typeof Separator>)

Source from the content-addressed store, hash-verified

66}
67
68function GroupSeparator({
69 className,
70 orientation = "vertical",
71 ...props
72}: {
73 className?: string;
74} & React.ComponentProps<typeof Separator>) {
75 return (
76 <Separator
77 className={cn(
78 "[[data-slot=input-control]:focus-within+&,[data-slot=select-trigger]:focus-visible+*+&]:-translate-x-px pointer-events-none relative z-20 has-[+[data-slot=input-control]:focus-within,+[data-slot=select-trigger]:focus-visible+*,+[data-slot=number-field]:focus-within]:translate-x-px has-[+[data-slot=input-control]:focus-within,+[data-slot=select-trigger]:focus-visible+*,+[data-slot=number-field]:focus-within]:bg-ring [[data-slot=input-control]:focus-within+&,[data-slot=select-trigger]:focus-visible+*+&,[data-slot=number-field]:focus-within+&]:bg-ring",
79 className,
80 )}
81 orientation={orientation}
82 {...props}
83 />
84 );
85}
86
87export {
88 Group,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected