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
Section titled “Parameters”fn |
|
options | optional
|
Options
Section titled “Options”preserveFragments | optionalboolean When true, fragments and arrays are not flattened. |
Returns
Section titled “Returns”() => Children