children
Returns a memo which is a list of all the provided children. If you want this as an array, see childrenArray.
import { children } from "@alloy-js/core";
function children(fn: () => Children, options?: ChildrenOptions): () => Children;
Parameters
fn |
|
options | optional
|
Options
preserveFragments | optionalboolean When true, fragments and arrays are not flattened. |
Returns
() => Children