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

Function GridListHeader

starters/tailwind/src/GridList.tsx:79–90  ·  view source on GitHub ↗
({children, ...props}: HTMLAttributes<HTMLElement>)

Source from the content-addressed store, hash-verified

77}
78
79export function GridListHeader({children, ...props}: HTMLAttributes<HTMLElement>) {
80 return (
81 <AriaGridListHeader
82 {...props}
83 className={twMerge(
84 'text-sm font-semibold text-neutral-500 dark:text-neutral-300 px-4 py-1 -mt-px z-10 bg-neutral-100/60 dark:bg-neutral-700/60 backdrop-blur-md supports-[-moz-appearance:none]:bg-neutral-100 border-y border-y-neutral-200 dark:border-y-neutral-700',
85 props.className
86 )}>
87 {children}
88 </AriaGridListHeader>
89 );
90}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected