MCPcopy Create free account
hub / github.com/adobe/react-spectrum / MenuSeparator

Function MenuSeparator

starters/tailwind/src/Menu.tsx:55–62  ·  view source on GitHub ↗
(props: SeparatorProps)

Source from the content-addressed store, hash-verified

53}
54
55export function MenuSeparator(props: SeparatorProps) {
56 return (
57 <Separator
58 {...props}
59 className="mx-3 my-1 border-b border-neutral-300 dark:border-neutral-700"
60 />
61 );
62}
63
64export interface MenuSectionProps<T> extends AriaMenuSectionProps<T> {
65 title?: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected