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

Function MyHeader

packages/react-aria-components/stories/utils.tsx:9–11  ·  view source on GitHub ↗
(props: HTMLAttributes<HTMLElement>)

Source from the content-addressed store, hash-verified

7import styles from '../example/index.css';
8
9export const MyHeader = (props: HTMLAttributes<HTMLElement>) => {
10 return <Header {...props} style={{width: 'max-content', ...props.style}} />;
11};
12
13export const MyListBoxItem = (props: ListBoxItemProps) => {
14 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected