Components
Virtual
Code

Virtual

Augmented forwardRef function to support generics

Parameters

props

  • Type: @vtex/shoreline-components.VirtualProps & @types/react.React.RefAttributes<typescript.HTMLDivElement>

Props

count

  • Type: number

dynamic (optional)

  • Type: boolean

estimateSize (optional)

  • Type: { (index: number): number; }

overscan (optional)

  • Type: number

View source (opens in a new tab)