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

Function DropdownMenuArrow

packages/ui/src/components/dropdown-menu.tsx:81–93  ·  view source on GitHub ↗
(props: DropdownMenuArrowProps)

Source from the content-addressed store, hash-verified

79}
80
81function DropdownMenuArrow(props: DropdownMenuArrowProps) {
82 const [local, rest] = splitProps(props, ["class", "classList"])
83 return (
84 <Kobalte.Arrow
85 {...rest}
86 data-slot="dropdown-menu-arrow"
87 classList={{
88 ...(local.classList ?? {}),
89 [local.class ?? ""]: !!local.class,
90 }}
91 />
92 )
93}
94
95function DropdownMenuSeparator(props: DropdownMenuSeparatorProps) {
96 const [local, rest] = splitProps(props, ["class", "classList"])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected