Skip to content

Interface: TreeToListOptions<T> ​

Type Parameters ​

Type ParameterDefault type
Tany

Properties ​

PropertyTypeDescription
childrenKey?stringThe key to use for storing children. Default: 'children'
transformNode?(node) => TFunction to transform each node before processing. Default: (node) => node

Released under the MIT License.