VirtualizedNew
A component for efficiently rendering large lists by only rendering items that are currently visible.
Usage
Virtualized.CommandComposed Props
| Prop | Type | Default |
|---|---|---|
className | string | — |
children | ReactNode | — |
items* | T[] | — |
itemRender* | function | — |
itemSearchTerm* | function | — |
itemDisabled | function | — |
onSelect | function | — |
placeholder | string | — |
options | see more | — |
estimateSize* | function | — |
value | string | — |
onValueChange | function | — |
listClassName | string | — |
Virtualized.CommandRoot Props
| Prop | Type | Default |
|---|---|---|
className | string | — |
children | ReactNode | — |
items* | T[] | — |
itemRender* | function | — |
itemSearchTerm* | function | — |
itemDisabled | function | — |
onSelect | function | — |
placeholder | string | "Search..." |
options | see more | — |
estimateSize* | function | — |
value | string | — |
onValueChange | function | — |
listClassName | string | — |
Virtualized.ComboboxFlex Props
| Prop | Type | Default |
|---|---|---|
options | T[] | — |
placeholder | string | — |
empty | ReactNode | — |
buttonProps | any | — |
search | string | — |
onSearchChange | function | — |
type | enum | — |
className | string | — |
children | ReactNode | — |
value | string | string[] | — |
onValueChange | function | — |
itemSearchTerm | function | — |
estimateSize | function | — |
popoverClassName | string | — |
indicatorLimit | number | — |
delimiter | string | — |
Virtualized.ComboboxMultiple Props
| Prop | Type | Default |
|---|---|---|
value | string[] | "[]" |
placeholder | string | "Select..." |
className | string | — |
children | ReactNode | — |
search | string | — |
options | T[] | "[]" |
empty | ReactNode | — |
buttonProps | any | "{}" |
onSearchChange | function | — |
onValueChange | function | — |
itemSearchTerm | function | "(item) => item.value" |
estimateSize | function | "() => 32" |
popoverClassName | string | — |
indicatorLimit | number | — |
delimiter | string | "," |
Virtualized.CommandList Props
| Prop | Type | Default |
|---|
Virtualized.CommandSearch Props
| Prop | Type | Default |
|---|---|---|
value | string | — |
onValueChange | function | — |
placeholder | string | — |