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

Function TreeHeader

packages/react-aria-components/src/Tree.tsx:1311–1317  ·  view source on GitHub ↗
(props: TreeHeaderProps)

Source from the content-addressed store, hash-verified

1309export interface TreeHeaderProps extends GridListHeaderProps {}
1310
1311export const TreeHeader = (props: TreeHeaderProps): ReactNode => {
1312 return (
1313 <GridListHeader className="react-aria-TreeHeader" {...props}>
1314 {props.children}
1315 </GridListHeader>
1316 );
1317};
1318
1319function areSetsEqual<T>(a: Set<T>, b: Set<T>) {
1320 if (a.size !== b.size) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected