Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/use-cases/ReactVirtualizedListExample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ const Row: ListRowRenderer = ({ index, style }) => {

const ReactVirtualizedListExample: React.FC = () => {
return (
<AutoSizer disableHeight> // AutoSizer automatically sets the width of the list
// based on the width of the parent container.
<AutoSizer disableHeight>
{/* AutoSizer automatically sets the width of the list
based on the width of the parent container. */}
{({ width }) => (
<List
height={350} // height of the list
Expand Down