@kayahr/harmless
    Preparing search index...

    Interface IfProps

    Props accepted by If.

    interface IfProps {
        children?: Element;
        else?: Element;
        test: boolean | (() => boolean);
    }

    Hierarchy (View Summary)

    Index
    children?: Element

    Nested child content rendered inside the current node.

    else?: Element

    Optional fallback content rendered when the test is false.

    test: boolean | (() => boolean)

    Static or reactive boolean test controlling which branch is rendered.