Section of <Dropdown>
component.
Usage
import { DropdownSection } from 'nr1'
Props
REQUIREDnode|function | This component can render either declaratively, by directly passing a set of children or virtualized, by passing a render callback (function as children).The only items allowed inside (or returned by the render callback) are of type |
string | Appends class names to the component.Should be used only for positioning and spacing purposes. |
array | Items to render, in the shape of a list of objects. Usually, each item in the items array contains the required data to generate the corresponding |
function | Callback fired when more items must be loaded. This happens when you're lazy loading the items and the items that are about to render cannot be found in the function ( |
number | Number of rows.By default it's equal to length of array passed in the items prop.You should specify the |
object | Inline style for custom styling.Should be used only for positioning and spacing purposes. |
string | Adds a |
string | Section title. |
Type definitions
Cursor
{startIndex: number, First index of the range of items to load.
stopIndex: number, Last index of the range of items to load.
}