The API reference is a Work in Progress and will be continuously improved and extended. We'd love to hear your feedback in our documentation repository.
Home > @edtr-io/plugin > list
list() function
Signature:export declare function list<D extends StateType>(
type: D,
initialCount?: number
): ListStateType<D>
Parameters
Parameter | Type | Description |
---|---|---|
type | D | The state type of the list items |
initialCount | number | The initial number of list items |