windease API reference - v0.6.0
    Preparing search index...

    Type Alias ChildSort

    ChildSort: (
        jsxChildren: readonly ChildSortEntry[],
        currentChildIds: readonly NodeId[],
    ) => NodeId[]

    A custom sort callback for a parent preset. Receives the parent's JSX children (with their optional order) plus the full current child id list (including imperative ones, in store order). Returns the FINAL ordered id list — JSX ids only; imperative ids will be appended in store order.

    Type Declaration