MCPcopy Create free account
hub / github.com/bvaughn/react-window / RowComponentWithoutAriaAttributes

Function RowComponentWithoutAriaAttributes

lib/hydration.test.tsx:40–49  ·  view source on GitHub ↗
({
  index,
  style
}: RowComponentProps)

Source from the content-addressed store, hash-verified

38
39// Rows aren't required to spread ariaAttributes (which identify them as rows)
40function RowComponentWithoutAriaAttributes({
41 index,
42 style
43}: RowComponentProps) {
44 return (
45 <div role="listitem" style={style}>
46 Row {index}
47 </div>
48 );
49}
50
51function DynamicList({
52 children,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected