Type Alias: ReactLynxChildren
ReactLynxChildren =
Omit<typeofPreactChildren,"map"|"forEach"|"toArray"> &object
Type of ReactLynx children utilities.
Type Declaration
forEach()
forEach<
TextendsComponentChild,R>(children:T|T[],fn: (child:T,index:number) =>R): readonlyR[] |null
Type Parameters
Parameters
Returns
readonly R[] | null
map()
map<
TextendsComponentChild,R>(children:T|T[],fn: (child:T,index:number) =>R): readonlyR[] |null
Type Parameters
Parameters
Returns
readonly R[] | null
toArray()
toArray(
children:ComponentChildren): readonlyVNode<{ }>[]
Parameters
Returns
readonly VNode<{ }>[]